Help:Templates: Difference between revisions

From [N8]
Jump to navigation Jump to search
Redesigning Template List Page
Line 1: Line 1:
Templates are little helpers which are used for recurring parts of a page. There a several types of templates which can be used in articles.
{{shortcut|GS:T|GS:TEMP|GS:TMP}}
{{otheruses|available templates|policy regarding templates|GSWiki:Template policy}}
{{Under Construction}}
'''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.


== Amboxes/Head Boxes ==
This page lists templates of this wiki.
To insert a template into a page, type <nowiki>{{TemplateName}}</nowiki> (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 <nowiki>{{Cleanup}}</nowiki> will add that tag to a page.
 
==Article namespace==
===Maintenance===
{| class="wikitable"
! style="width:30%" | Template !! Use !! Where to put it
|-
| {{ti|cleanup|Reason}}
| Article needs attention for various reasons
| Top
|-
| {{ti|Incomplete|Reason}}
| Article missing vital information
| Top
|-
| {{ti|InUse}}
| You are currently working on major changes to this article
| Top
|-
| {{ti|NPOV}}
| Article is presented in a biased voice
| Top
|-
| {{ti|Obsolete|Reason}}
| Article is outdated
| Top
|-
| {{ti|Stub}}
| The article only contains basic information and there is unknown vital information to add
| Bottom
|-
| {{ti|Sectstub}}
| Same as above, but for a specific section
| Underneath the header of the section
|-
| {{ti|Construction}}
| The article is undergoing major changes, but not necessarily in progress
| Top
|-
| {{ti|NeedPic}}
| Article is in need of pictures (outside of the infoboxes)
| Top
|-
| {{ti|Too big}}
| Article contains too much extraneous code or prose
| Top
|-
| {{ti|Disputed}}
| Article with factual information that is contested
| Top
|}
 
===Related articles===
{| class="wikitable"
! style="width:30%" | Template !! Use !! Where to put it
|-
| {{ti|Main|article}}
| Section has a relevant article
| Section header
|-
| {{ti|HasGuide}}
| Article has a relevant strategy guide subpage
| Top
|-
| {{ti|Hasdialogue}}
| Article has a transcript of dialogue
| Relevant section
|-
| {{ti|HasMMG}}
| Article has a relevant money making guide
| Top
|-
| {{ti|Has quick guide}}
| Article has a step-by-step version
| Top
|}
 
===Inline templates===
{| class="wikitable"
! style="width:40%" | Template !! Use
|-
| {{ti|fact}}
| Statements needs a reliable source cited
|-
| {{ti|sic}}
| An error exists from the original source
|-
| {{ti|AnchorText}}
| Give the text an id attribute for direct linking
|-
| {{ti|(s)}}
| Specific to supporters only
|-
| {{ti|purge}}
| Add a link to refresh a page cache
|-
| {{ti|section link}}
| Link to a section of another article
|}
 
===Formatting===
{| class="wikitable"
! style="width:40%" | Template !! Use
|-
| {{ti|clear}}
| Clear space after floating elements
|-
| {{ti|nbsp}}
| Intentional non-breaking spaces
|-
| {{ti|1={{=}}}}<!-- how meta; a prime example of needing this template -->
| Literal "=" to avoid interpretation as syntax
|-
| {{ti|*}}
| Inserts a bold bullet
|-
| {{ti|GSFont}}
| Use the in-game font (currently <code>In Development</code>)
|-
| {{ti|Nowrap}}
| Keeps text on a single line
|-
| {{ti|Red}}
| Makes text Red
|-
| {{ti|Blue}}
| Makes text Blue
|-
| {{ti|Green}}
| Makes text Green
|-
| {{ti|Yellow}}
| Makes text Yellow
|-
| {{ti|Coins}}
| Format coin amounts with an image and colour
|-
| {{ti|Key press}}
| Format keyboard strokes
|-
| {{ti|UD}}
| Link to update articles
|-
| {{ti|Small}}
| Makes certain text very small font size.
|-
| {{ti|Desc}}
| Used to display and icon size image with a description
|-
| {{ti|Quote}}
| Quote content or phrase
|-
| {{ti|Plainlist}}
| Create a plain unbulleted list
|-
| {{ti|Spoiler}}
| Display content within a expandable spoiler
|-
| {{ti|Hover}}
| Used to create dotted underlined text with tooltip
|-
| {{ti|Hover box}}
| Used to create dotted underline text with hover box
|}
 
===Infoboxes (BRAND NEW and IN DEVELOPMENT)===
{| class="wikitable"
! style="width:50%" | Template !! Use
|-
| {{ti|Infobox Item}} || Any item
|-
| {{ti|Infobox event}} || An event
|-
| {{ti|Infobox Monster new}} || Attackable NPCs
|-
| {{ti|Infobox non-player character}} || Non-attackable NPCs
|-
| {{ti|Mission details}} || Quest information
|-
| {{ti|Infobox pcts}} || Planets, Cities, towns and other settlements
|-
| {{ti|Infobox shop}} || Stores and markets
|}
 
===Categorical===
{| class="wikitable"
! style="width:40%" | Template !! Use !! Where to put it
|-
| {{ti|Deleted content}}
| Content completely removed from the game
| Top
|-
| {{ti|Recurring content}}
| Content that was once accessible, and can be made accessible again
| Top
|-
| {{ti|Bugged|Reason}}
| Content is in maintenance, disabled and/or bugged with fix expected in future update/patch.
| Top
|-
| {{ti|Current}}
| Article is undergoing constant change due to dynamic or constantly changing nature
| Top
|}
 
==Talk: namespace==
{| class="wikitable"
! style="width:70%" | Template
|-
| {{ti|Talkheader}}
|-
| {{ti|Archive list}}
|-
| {{ti|Archive}}
|}
 
==File: namespace==
 
{| class="wikitable"
! style="width:40%" | Template !! Use
|-
| {{ti|C-GeminiStation}} || Official Images used by Gem are copyrighted by Gem's Creator
|}
 
==Migrating Old List to New List==
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.
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:InUse]] (used to highlight articles that are actively undergoing a major edit. Using this is important when starting to make revisions to a page to prevent another editor from editing the page while you are present. Placing this at the top of the page editor and saving the page first before making edits is how this works.)
*[[Template:UnderConstruction]] (Replaced with Template:Construction.)
*[[Template:UnderConstruction]] (used to highlight articles that are undergoing a series of edits. It is as the title suggests, when the page is being expanded overtime, this is the perfect use.)
*[[Template:ArticleUpdate]] (Replaced with Template:Obsolete.)
*[[Template:ArticleUpdate]] (used to highlight articles that have content that is out of date.)
*[[Template:Rewrite]] (used when an article or sections of a page need a complete revision or rewrite.)
*[[Template:Rewrite]] (used when an article or sections of a page need a complete revision or rewrite.)
*[[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: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.)
Line 17: Line 244:
*[[Template:Copy edit]] (used to highlight articles that have poor grammar, style, cohesion, and spelling.)
*[[Template:Copy edit]] (used to highlight articles that have poor grammar, style, cohesion, and spelling.)
*[[Template:Category]] (used to highlight poorly categorized pages/articles.)
*[[Template:Category]] (used to highlight poorly categorized pages/articles.)
*[[Template:Cleanup]] (used to highlight articles that need complete rewriting to better suit wiki guidelines.)


== Content specific boxes ==
== Content specific boxes ==
Line 40: Line 266:
Text templates are used direct in the text. they are often markers for missing informations or as reference.
Text templates are used direct in the text. they are often markers for missing informations or as reference.


* [[Template:Red]] (used to make text red.)
* [[Template:Blue]] (used to make text blue.)
* [[Template:Green]] (used to make text green.)
* [[Template:Yellow]] (used to make text yellow.)
* [[Template:Iconbox]] (used to display a image with a title and description. See page for more info.
* [[Template:Iconbox]] (used to display a image with a title and description. See page for more info.
* [[Template:Spoiler]] (used to display content within a expandable spoiler.)
* [[Template:Quote]] (used to quote content or phrase.)
* [[Template:Plainlist]] (used to create a plain unbulleted list.)
* [[Template:Nowrap]] (used to prevent line breaks. 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:UserInfo]] (used on User Pages for a profile box.)
* [[Template:Hover]] (used to create dotted underlined text with tooltip.)
* [[Template:Hover box]] (used to create dotted underline text with hover box.)
* [[Template:Small]] (used to make certain text very small font size.)
* [[Template:Desc]] (used to display and icon size image with a description.)
* [[Template:Anchor]] (used to anchor a word on a page to be used as direct link to that word from another page.)
* [[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:Collapse]] (used to make a box with content that is expandable and collapsable.)

Revision as of 18:27, 30 May 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
{{Disputed}} Article with factual information that is contested Top

Related articles

Template Use Where to put it
{{Main|article}} Section has a relevant article Section header
{{HasGuide}} Article has a relevant strategy guide subpage Top
{{Hasdialogue}} Article has a transcript of dialogue Relevant section
{{HasMMG}} Article has a relevant money making guide Top
{{Has quick guide}} Article has a step-by-step version Top

Inline templates

Template Use
{{fact}} Statements needs a reliable source cited
{{sic}} An error exists from the original source
{{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
{{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 (currently In Development)
{{Nowrap}} Keeps text on a single line
{{Red}} Makes text Red
{{Blue}} Makes text Blue
{{Green}} Makes text Green
{{Yellow}} Makes text Yellow
{{Coins}} Format coin amounts with an image and colour
{{Key press}} Format keyboard strokes
{{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

Infoboxes (BRAND NEW and IN DEVELOPMENT)

Template Use
{{Infobox Item}} Any item
{{Infobox event}} An event
{{Infobox Monster new}} Attackable NPCs
{{Infobox non-player character}} Non-attackable NPCs
{{Mission details}} Quest information
{{Infobox pcts}} Planets, Cities, towns and other settlements
{{Infobox shop}} Stores and markets

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 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

Talk: namespace

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

File: namespace

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

Migrating Old List to New List

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.)
  • Template:ArticleUpdate (Replaced with Template:Obsolete.)
  • Template:Rewrite (used when an article or sections of a page need a complete revision or rewrite.)
  • 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.)
  • 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 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.

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.)