Help:Templates: Difference between revisions

From [N8]
Jump to navigation Jump to search
Infoboxes: added infobox ship
 
(36 intermediate revisions by 2 users not shown)
Line 40: Line 40:
| Underneath the header of the section
| Underneath the header of the section
|-
|-
| {{ti|Under Construction}}
| {{ti|Construction}}
| The article is undergoing major changes, but not necessarily in progress
| The article is undergoing major changes, but not necessarily in progress
| Top
| Top
Line 52: Line 52:
| Top
| Top
|-
|-
| {{ti|Disputed}}
| {{ti|Last updated}}
| Article with factual information that is contested
| Article sections which are updated alot get a last updated messagebox
| Top
| Bottom of Section
|}
|}


Line 66: Line 66:
|-
|-
| {{ti|HasGuide}}
| {{ti|HasGuide}}
| Article has a relevant strategy guide subpage
| Article has a relevant guide subpage {{red|<code>In Development</code>}}
| Top
| Top
|-
|-
| {{ti|Hasdialogue}}
| {{ti|Hasdialogue}}
| Article has a transcript of dialogue
| Article has a transcript of dialogue {{red|<code>In Development</code>}}
| Relevant section
| Relevant section
|-
|-
| {{ti|HasMMG}}
| {{ti|HasMMG}}  
| Article has a relevant money making guide
| Article has a relevant money making guide {{red|<code>In Development</code>}}
| Top
| Top
|-
|-
| {{ti|Has quick guide}}
| {{ti|Has quick guide}}  
| Article has a step-by-step version
| Article has a step-by-step version
| Top
| Top
|-
| {{ti|Awards}}
| Award Creation for the Wiki
| Top
|-
| {{ti|Countdown}}
| Creates a countdown/timer for an event
| Top
|-
| {{ti|SpoilerNotice}}
| Adds a notice for the page which has potential spoilers
| Top
|}
===List creation===
{| class="wikitable"
! style="width:50%" | Template !! Use
|-
| {{ti|Alphabetical header}}
| Create a formatted A–Z table of contents
|-
| {{ti|top}}
| Link to return to top of the article
|}
|}


Line 85: Line 108:
{| class="wikitable"
{| class="wikitable"
! style="width:40%" | Template !! Use
! style="width:40%" | Template !! Use
|-
| {{ti|Anchor}}
| Used to anchor a word on a page to be used as direct link to that word from another page
|-
|-
| {{ti|fact}}
| {{ti|fact}}
| Statements needs a reliable source cited
| Statements needs a reliable source cited
|-
| {{ti|sic}}
| An error exists from the original source
|-
|-
| {{ti|AnchorText}}
| {{ti|AnchorText}}
Line 108: Line 131:
{| class="wikitable"
{| class="wikitable"
! style="width:40%" | Template !! Use
! style="width:40%" | Template !! Use
|-
| {{ti|collapse}}
| Used to make a box with content that is expandable and collapsable
|-
| {{ti|Iconbox}}
| Used to display a image with a title and description
|-
|-
| {{ti|clear}}
| {{ti|clear}}
Line 122: Line 151:
|-
|-
| {{ti|GSFont}}
| {{ti|GSFont}}
| Use the in-game font (currently <code>In Development</code>)
| Use the in-game font
|-
|-
| {{ti|Nowrap}}
| {{ti|Nowrap}}
Line 139: Line 168:
| Makes text Yellow
| Makes text Yellow
|-
|-
| {{ti|Coins}}
| {{ti|TColor}}
| Format coin amounts with an image and colour
| Makes text a variety of colors
|-
|-
| {{ti|Key press}}
| {{ti|Color}}
| Format keyboard strokes
| Make text any color that has a HexCode
|-
|-
| {{ti|UD}}
| {{ti|UD}}
Line 168: Line 197:
| {{ti|Hover box}}
| {{ti|Hover box}}
| Used to create dotted underline text with hover box
| Used to create dotted underline text with hover box
|-
| {{ti|plink}}
| Used to create a box with image and text, no size formatting
|-
| {{ti|plinksized}}
| Same template as plink, only with formatted text size option
|-
| {{ti|Cargo}}
| Used to create a cargo size display.
|-
| {{ti|User}}
| Replaces the need to type out <code><nowiki>[[User:ExampleUser|Example]]</nowiki></code>
|}
|}


===Infoboxes (BRAND NEW and IN DEVELOPMENT)===
===Disambiguation and redirection===
:''Not to be confused with redirection pages which use ''<code><nowiki>#REDIRECT [[Page title]]</nowiki></code>'' on the first line.''
{| class="wikitable"
! style="width:40%" | Template !! Use !! Where to put it
|-
| {{ti|Otheruses|description|other|link}}
| Other uses of the term
| Top
|-
| {{ti|redirect|Location}}
| Article is main use of a term, links to disambiguation
| Top
|-
| {{ti|redirect3|Location|Misc}}
| Article is main use of a term, link to custom articles
| Top
|-
| {{ti|Confuse|page}}
| Similarly named articles that might cause confusion
| Top
|-
| {{ti|wp|Article}}
| Linking to a Wikipedia article inline
| Inline; best limited to trivia; only use for distinct and unique terms
|}
 
===Infoboxes ===
{| class="wikitable"
{| class="wikitable"
! style="width:50%" | Template !! Use
! style="width:50%" | Template !! Use
Line 176: Line 243:
| {{ti|Infobox Item}} || Any item
| {{ti|Infobox Item}} || Any item
|-
|-
| {{ti|Infobox event}} || An event
| {{ti|Infobox Event}} || An event {{red|<code>In Development</code>}}
|-
| {{ti|Infobox ENPC}} || Attackable/Enemy NPCs {{red|<code>In Development</code>}}
|-
| {{ti|Infobox NPC}} || Non-attackable NPCs
|-
| {{ti|Missionbox}} || Mission information {{green|<code>In Progress</code>}}
|-
| {{ti|Modbox}} || Mod information
|-
| {{ti|Infobox Pcts}} || Planets, Cities, towns and other settlements {{red|<code>In Development</code>}}
|-
| {{ti|Infobox Shop}} || Stores and markets {{red|<code>In Development</code>}}
|-
| {{ti|Infobox Ship}} || Ship information {{red|<code>In Development</code>}}
|-
| {{ti|Shipbox}} || Display ship stats
|}
 
===Navboxes===
{| class="wikitable"
! style="width:40%" | Template !! Use !! Where to put it
|-
| {{ti|Locals}}
| Navbox for Location pages
| Bottom
|-
|-
| {{ti|Infobox Monster new}} || Attackable NPCs
| {{ti|Attributes}}
| Navbox for Attribute pages
| Bottom
|-
|-
| {{ti|Infobox non-player character}} || Non-attackable NPCs
| {{ti|Items}}
| Navbox for Commodity/Item pages
| Bottom
|-
|-
| {{ti|Mission details}} || Quest information
| {{ti|Mods}}
| Navbox for Mod Type pages
| Bottom
|-
|-
| {{ti|Infobox pcts}} || Planets, Cities, towns and other settlements
| {{ti|Wiki Index}}
| Navbox for General Use Index
| Bottom
|-
|-
| {{ti|Infobox shop}} || Stores and markets
| {{ti|Ships}}
| Navbox for Ship pages
| Bottom
|-
| {{ti|Editing Guides}}
| Navbox for all editing guide pages
| Bottom
|-
| {{ti|Mechanics}}
| Navbox for all game mechanics of gemini station
| Bottom
|}
|}


Line 198: Line 308:
|-
|-
| {{ti|Recurring content}}
| {{ti|Recurring content}}
| Content that was once accessible, and can be made accessible again
| Content that was once accessible, and can be made accessible again {{red|<code>On Hold</code>}}
| Top
| Top
|-
|-
Line 207: Line 317:
| {{ti|Current}}
| {{ti|Current}}
| Article is undergoing constant change due to dynamic or constantly changing nature
| Article is undergoing constant change due to dynamic or constantly changing nature
| Top
|-
| {{ti|Historical article}}
| Subject no longer exists (either entirely or in this form)
| Top
|-
| {{ti|Future}}
| Unreleased content
| Top
|}
===Requests===
{| class="wikitable"
! style="width:40%" | Template !! Use !! Where to put it
|-
| {{ti|D|Reason}}
| Article needs immediate deletion
| Top
| Top
|}
|}
Line 229: Line 356:
|}
|}


==Migrating Old List to New List==
==User: namespace==
Ambox means Article Messagebox. As the name mentions, these templates should be placed at the top of a page. They create a box with notable information.


*[[Template:UnderConstruction]] (Replaced with Template:Construction.)
Many different userboxes are available for placement on a user's page. See [[GSWiki:Userboxes]] for a listing.
*[[Template:ArticleUpdate]] (Replaced with Template:Obsolete.)
{| class="wikitable"
*[[Template:Rewrite]] (used when an article or sections of a page need a complete revision or rewrite.)
! style="width:40%" | Template !! Use
*[[Template:Merge]] (used to highlight articles that are candidates for merging with another article. If there is a page that has info that really should be on another page, tag that page with this headbox.)
|-
*[[Template:Move]] (used to highlight articles with a request for a name-change.)
| {{ti|UserInfo}} || Used on User Pages for a profile box
*[[Template:Split]] (used to highlight articles that need division. If there is data on a page that should be separate and be its own page, tag that page with this template.)
|}
*[[Template:Expand]] (used to highlight articles that need expansion. Only used if a page has no headbox and has hardly any content on it.)
*[[Template:Delete]] (used when an article needs to be marked for deletion - read [[Template:Delete|here]] first before using.)
*[[Template:Stub]] (used for pages with few or insufficient information.)
*[[Template:Links]] (used to highlight articles with poor hyperlinks.)
*[[Template:Copy edit]] (used to highlight articles that have poor grammar, style, cohesion, and spelling.)
*[[Template:Category]] (used to highlight poorly categorized pages/articles.)
 
== Content specific boxes ==
Content-specific boxes are special boxes for some kind of content. They are designed for specific pages.
 
=== Infoboxes ===
Infoboxes should give a short overview over all relevant content, as well as icons and images.
 
* [[Template:Event]] (This Template is a complicated mission template built by Banri from scratch. Custom designed for Gemini Station mission system. This infobox displays all available info regarding assignments, missions and encounters. For full guide, see page.)
 
=== Footer-boxes ===
Footer-boxes are mainly an overview of all types of pages that count to the specific category, as well as some special pages related to the category. It should be placed on the bottom of the page.
 
* [[Template:LocationNavbox]] (used for location pages.)
* [[Template:AttributeNavbox]] (used for attribute pages.)
* [[Template:CommodityNavbox]] (used for Commodity pages.)
* [[Template:ModTypeNavbox]] (used for mod type pages.)
* [[Template:GeminiStationNavbox]] (used as a overall index.)
* [[Template:WikiNavbox]] (used on main page only.)
 
== Text templates ==
Text templates are used direct in the text. they are often markers for missing informations or as reference.
 
* [[Template:Iconbox]] (used to display a image with a title and description. See page for more info.
* [[Template:Nowrap]] (used to prevent line breaks. See page for more info.)
* [[Template:UserInfo]] (used on User Pages for a profile box.)
* [[Template:Anchor]] (used to anchor a word on a page to be used as direct link to that word from another page.)
* [[Template:Collapse]] (used to make a box with content that is expandable and collapsable.)
* [[Template:Welcome]] (used on either user page or user talk page of a newly registered user. See page for more info.)


{{Help}}
{{Editing Guides}}
==See also==
* [[GSWiki:Template policy/Personal templates]]


[[Category:Wiki help|Templates]]
[[Category:Gem Wiki community|Templates]]
[[Category:Templates| ]]
[[Category:Templates| ]]

Latest revision as of 16:37, 17 June 2020

This article is about available templates. For policy regarding templates, see GSWiki:Template policy.
This page is currently under construction.
The information contained within should not be considered fully accurate and/or complete.

Templates are used to duplicate the same content across more than one page. Changing a template in one place will immediately propagate the changes to all the pages that use it.

This page lists templates of this wiki. 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:Cleanup is Cleanup, so typing {{Cleanup}} will add that tag to a page.

Article namespace

Maintenance

Template Use Where to put it
{{cleanup|Reason}} Article needs attention for various reasons Top
{{Incomplete|Reason}} Article missing vital information Top
{{InUse}} You are currently working on major changes to this article Top
{{NPOV}} Article is presented in a biased voice Top
{{Obsolete|Reason}} Article is outdated Top
{{Stub}} The article only contains basic information and there is unknown vital information to add Bottom
{{Sectstub}} Same as above, but for a specific section Underneath the header of the section
{{Construction}} The article is undergoing major changes, but not necessarily in progress Top
{{NeedPic}} Article is in need of pictures (outside of the infoboxes) Top
{{Too big}} Article contains too much extraneous code or prose Top
{{Last updated}} Article sections which are updated alot get a last updated messagebox Bottom of Section

Related articles

Template Use Where to put it
{{Main|article}} Section has a relevant article Section header
{{HasGuide}} Article has a relevant guide subpage In Development Top
{{Hasdialogue}} Article has a transcript of dialogue In Development Relevant section
{{HasMMG}} Article has a relevant money making guide In Development Top
{{Has quick guide}} Article has a step-by-step version Top
{{Awards}} Award Creation for the Wiki Top
{{Countdown}} Creates a countdown/timer for an event Top
{{SpoilerNotice}} Adds a notice for the page which has potential spoilers Top

List creation

Template Use
{{Alphabetical header}} Create a formatted A–Z table of contents
{{top}} Link to return to top of the article

Inline templates

Template Use
{{Anchor}} Used to anchor a word on a page to be used as direct link to that word from another page
{{fact}} Statements needs a reliable source cited
{{AnchorText}} Give the text an id attribute for direct linking
{{(s)}} Specific to supporters only
{{purge}} Add a link to refresh a page cache
{{section link}} Link to a section of another article

Formatting

Template Use
{{collapse}} Used to make a box with content that is expandable and collapsable
{{Iconbox}} Used to display a image with a title and description
{{clear}} Clear space after floating elements
{{nbsp}} Intentional non-breaking spaces
{{}} Literal "=" to avoid interpretation as syntax
{{*}} Inserts a bold bullet
{{GSFont}} Use the in-game font
{{Nowrap}} Keeps text on a single line
{{Red}} Makes text Red
{{Blue}} Makes text Blue
{{Green}} Makes text Green
{{Yellow}} Makes text Yellow
{{TColor}} Makes text a variety of colors
{{Color}} Make text any color that has a HexCode
{{UD}} Link to update articles
{{Small}} Makes certain text very small font size.
{{Desc}} Used to display and icon size image with a description
{{Quote}} Quote content or phrase
{{Plainlist}} Create a plain unbulleted list
{{Spoiler}} Display content within a expandable spoiler
{{Hover}} Used to create dotted underlined text with tooltip
{{Hover box}} Used to create dotted underline text with hover box
{{plink}} Used to create a box with image and text, no size formatting
{{plinksized}} Same template as plink, only with formatted text size option
{{Cargo}} Used to create a cargo size display.
{{User}} Replaces the need to type out [[User:ExampleUser|Example]]

Disambiguation and redirection

Not to be confused with redirection pages which use #REDIRECT [[Page title]] on the first line.
Template Use Where to put it
{{Otheruses|description|other|link}} Other uses of the term Top
{{redirect|Location}} Article is main use of a term, links to disambiguation Top
{{redirect3|Location|Misc}} Article is main use of a term, link to custom articles Top
{{Confuse|page}} Similarly named articles that might cause confusion Top
{{wp|Article}} Linking to a Wikipedia article inline Inline; best limited to trivia; only use for distinct and unique terms

Infoboxes

Template Use
{{Infobox Item}} Any item
{{Infobox Event}} An event In Development
{{Infobox ENPC}} Attackable/Enemy NPCs In Development
{{Infobox NPC}} Non-attackable NPCs
{{Missionbox}} Mission information In Progress
{{Modbox}} Mod information
{{Infobox Pcts}} Planets, Cities, towns and other settlements In Development
{{Infobox Shop}} Stores and markets In Development
{{Infobox Ship}} Ship information In Development
{{Shipbox}} Display ship stats

Navboxes

Template Use Where to put it
{{Locals}} Navbox for Location pages Bottom
{{Attributes}} Navbox for Attribute pages Bottom
{{Items}} Navbox for Commodity/Item pages Bottom
{{Mods}} Navbox for Mod Type pages Bottom
{{Wiki Index}} Navbox for General Use Index Bottom
{{Ships}} Navbox for Ship pages Bottom
{{Editing Guides}} Navbox for all editing guide pages Bottom
{{Mechanics}} Navbox for all game mechanics of gemini station Bottom

Categorical

Template Use Where to put it
{{Deleted content}} Content completely removed from the game Top
{{Recurring content}} Content that was once accessible, and can be made accessible again On Hold Top
{{Bugged|Reason}} Content is in maintenance, disabled and/or bugged with fix expected in future update/patch. Top
{{Current}} Article is undergoing constant change due to dynamic or constantly changing nature Top
{{Historical article}} Subject no longer exists (either entirely or in this form) Top
{{Future}} Unreleased content Top

Requests

Template Use Where to put it
{{D|Reason}} Article needs immediate deletion Top

Talk: namespace

Template
{{Talkheader}}
{{Archive list}}
{{Archive}}

File: namespace

Template Use
{{C-GeminiStation}} Official Images used by Gem are copyrighted by Gem's Creator

User: namespace

Many different userboxes are available for placement on a user's page. See GSWiki:Userboxes for a listing.

Template Use
{{UserInfo}} Used on User Pages for a profile box

See also