RTGame:Templates: Difference between revisions
Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 167: | Line 167: | ||
|{{tl|SIZECNV}} | |{{tl|SIZECNV}} | ||
|Convert size shorthand to the full word | |Convert size shorthand to the full word | ||
|} | |} | ||
Revision as of 16:05, 4 May 2021
Templates are used to duplicate the same content across more than one page, reducing maintenance and work needed on creating and updating pages. Changing a template in one place will immediately apply the changes to all the pages that use it.
This page lists templates of this wiki. Due to the amount of traffic and the game being controversial, template creation requires additional permission on top of registered and verified users. For more information on templates, check out Wikipedia's template page or Wikimedia's template page. If you are interested in:
Alternatively, you can request template permission by asking in the discussion page or messaging us on Discord.
A list of all Star Citizen Wiki templates is available at All pages (Template namespace). For a list of templates, see this page. Unused templates can be found at Special:Unusedtemplates.
To insert a template into a page, type {{TemplateName}}
(this is known as a tag) somewhere on the page, whether it be at the top or at the bottom or in a certain section. Every page with that tag in it will display the template text. TemplateName is the name after the colon symbol, e.g. the TemplateName for Template:In use is In use, so typing {{In use}}
will add that tag to a page.
Below are a summary of most templates on the wiki. Please refer to the relevant documentation page for more details. Note that some templates are listed by their shorthand, and depreciated and fallback templates are not included in the list below.
Article namespace
Citation
Use these templates to reference information.
Template | Use | Where to put it |
---|---|---|
{{Fact}}
|
Statements needs a reliable source cited | Inline after the statement |
{{Reflist}}
|
Show the list of reference | Under the reference header == References ==
|
Related articles
Use these templates to link relevant articles of the page or section. They must be at the very top of the page or section. Nothing should be above them (except short description).
More pages on the same topic
Template | Use | Where to put it |
---|---|---|
{{Main}}
|
Section is a summary or snippet of another article | Under section header |
{{See also}}
|
Section has a related article | Under section header |
Other uses of the same title
Template | Use | Where to put it |
---|---|---|
{{About}}
|
Noting other uses for a page or section | Top or under section header |
{{For}}
|
Noting other uses for a section or page, and not to display This page is about... | Top or under section header |
{{Redirect}}
|
Noting other pages that users intended to visit but redirected | Top |
Maintenance
Use these templates to mark page or section for maintenance. Some of these templates mark pages in lists that can be founded at the top of the recent changes page under other review tools.
Template | Use | Where to put it |
---|---|---|
{{Cleanup}}
|
Page or section needs attention for various reasons | Top or under section header |
{{Review}}
|
Page needs review in copy editing | Top |
{{Outdated}}
|
Page or section contains outdated information more than two years old | Top or under section header |
{{Stub}}
|
Page only contains basic information and there is unknown vital information to add | Bottom |
{{Delete}}
|
Requesting a page to be deleted | Top |
{{In use}}
|
Page is undergoing a major edit | Top |
Content
Use inside the article and with a new line.
Template | Use | Where to put it |
---|---|---|
{{Quote}}
|
Create a blockquote | Wherever needed |
{{Note}}
|
Post editorial notes in articles | Before the content that the note refers to |
{{Gallery}}
|
Include a gallery section in the page | The end of the article but before see also and references |
Formatting
Should be placed inline.
Layout
Template | Use |
---|---|
{{Nbsp}}
|
Intentional non-breaking spaces |
{{=}}
|
Literal "=" to avoid interpretation as syntax |
{{Nowrap}}
|
Keeps text on a single line |
{{Em}}
|
Put strong emphasis on the text |
{{Ubl}}
|
Create unbulleted lists |
{{Blist}}
|
Create bulleted lists when wikitext does not work |
Conversion
Template | Use |
---|---|
{{SDA}}
|
Display the date of an entity started |
{{SIZECNV}}
|
Convert size shorthand to the full word |
WIP. Generate navigation blocks.
Template | Use | Where to put it |
---|---|---|
{{Navplate manufacturer}}
|
Generate a navplate of products from the same manufacturer | After the references section in manufacturer and manufacturer product pages |
{{Navplate personal weapons}}
|
Generate a navplate of all personal weapons | After the references section in personal weapon pages |
{{Navplate systems}}
|
Generate a navplate of all planetary systems | After the references section in planetary system pages |
{{Navplate vehicles}}
|
Generate a navplate of all vehicles | After the references section in vehicle pages |
{{System navplate}}
|
Generate a navplate of all planetary objects and landing zones in a system | After the references section in location pages |
{{Planet navplate}}
|
Generate a navplate of locations on a planet | After the references section in locations page on and around a planet |
{{Ship ordnance navplate}}
|
Generate a navplate of ship ordnances | After the references section in ship ordnance pages |
{{Ship weapon navplate}}
|
Generate a navplate of ship weapons | After the references section in ship weapon pages |
{{Computer navplate}}
|
Generate a navplate of computers | After the references section in computer pages |
{{Cooler navplate}}
|
Generate a navplate of coolers | After the references section in cooler pages |
{{Quantum drive navplate}}
|
Generate a navplate of quantum drives | After the references section in quantum drive pages |
{{Radar navplate}}
|
Generate a navplate of radars | After the references section in radar pages |
Infoboxes
WIP
Template | Use | Where to put it |
---|---|---|
Data tables
WIP
Template | Use | Where to put it |
---|---|---|
Template and Module namespace
WIP
Template | Use | Where to put it |
---|---|---|
File namespace
WIP
Template | Use | Where to put it |
---|---|---|
Licensing
WIP
Template | Use | Where to put it |
---|---|---|
RTGame Wiki community | ||
---|---|---|
Projects | Search Engine Optimization • | |
Policies | Application programming interface • Copyrights • Lua • Policies • Redirect • Short description • Shortcut • Style guide • Templates • | |
Editing guides | Advanced editing • Cheat sheet • Source mode basics • VisualEditor advanced • VisualEditor basics • Your first edit • |