TemplateDoc:Ref/Game: Difference between revisions

minor spelling polishes
No edit summary
(minor spelling polishes)
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
==Usage==
==Usage==
===Syntax===
===Syntax===
To insert this template onto a page, place one of the following wikitext samples onto the article, and fill in as necessary. You may also add any of additional parameters seen [[#Parameters|below]] if necessary, for instance a quote, or particular detail you want to highlight.
To insert this template onto a page, place one of the following wikitext samples onto the article, and fill in as necessary. You may also add any additional parameters seen [[#Parameters|below]] such as a quote or particular detail you want to highlight.


====Citing a general description====
====Citing a general description====
<pre><nowiki>{{Ref/Game|Id=ref_id|game_name_or_initials|description_of_what_you_are_citing}}</nowiki></pre>
<pre><nowiki>{{Ref/Game|Id=Ref ID|Game name or acronym|Description of what you are citing}}</nowiki></pre>


====Citing a page about a game element====
====Citing a page about a game element====
<pre><nowiki>{{Ref/Game|Id=ref_id|game_name_or_initials|page_name|description_of_what_you_are_citing}}</nowiki></pre>
<pre><nowiki>{{Ref/Game|Id=Ref ID|Game name or acronym|Page name|Description of what you are citing}}</nowiki></pre>


===Parameters===
===Parameters===
Line 57: Line 57:
|PartLink, Expansion, DLC, Edition
|PartLink, Expansion, DLC, Edition
|''Optional''
|''Optional''
|A specific part or section of the game that's being cited, including DLC expansions or specific limited editions of the game. This fields accepts page names and will automatically create a link if the page exists - use <code>PartText</code> to control the display text for said link.
|A specific part or section of the game that's being cited, including DLC expansions or specific limited editions of the game. This field accepts page names and will automatically create a link if the page exists - use <code>PartText</code> to control the display text for said link.
|<code>Halo Wars 2: Awakening the Nightmare</code>
|<code>Halo Wars 2: Awakening the Nightmare</code>
|-
|-
Line 103: Line 103:
*[[Template:Internal/Error/MissingParam|Missing required parameter]] - If a required parameter is not passed to the template.
*[[Template:Internal/Error/MissingParam|Missing required parameter]] - If a required parameter is not passed to the template.
*[[Template:Internal/Error/InvalidParam|Invalid parameter]] - If an unrecognised parameter is passed to the template.
*[[Template:Internal/Error/InvalidParam|Invalid parameter]] - If an unrecognised parameter is passed to the template.
*[[Template:Internal/Error/ClobberedParam|Overwritten parameter]] - If the same paramater is given multiple values in the template call.
*[[Template:Internal/Error/ClobberedParam|Overwritten parameter]] - If the same parameter is given multiple values in the template call.


===Examples===
===Examples===
Here are some examples of what the template will output, when used:
Here are some examples of what the template will output when used:


====Standard usage====
====Standard usage====
Line 112: Line 112:
{{Ref/Sources}}
{{Ref/Sources}}


====Details field usage====
====Detail field usage====
<pre>{{Ref/Game|Id=HRJFOHelmet|HR|Armor permutations (Halo: Reach)|Armory|Detail=JFO helmet}}</pre>{{Ref/Game|Id=HRJFOHelmet|HR|Armor permutations (Halo: Reach)|Armory|Detail=JFO helmet}}
<pre>{{Ref/Game|Id=HRJFOHelmet|HR|Armor permutations (Halo: Reach)|Armory|Detail=JFO helmet}}</pre>{{Ref/Game|Id=HRJFOHelmet|HR|Armor permutations (Halo: Reach)|Armory|Detail=JFO helmet}}
{{Ref/Sources}}
{{Ref/Sources}}


====Quote field usage====
====Quote field usage====
<pre>{{Ref/Game|Id=HRJFOHelmet|HR|Armor permutations (Halo: Reach)|Armory|Quote=Designed and tested at Beweglichrüstungsysteme, this helmet is fully compatible with all armor systems.|Quotee=Armory}}</pre>
<pre>{{Ref/Game|Id=HRJFOHelmet|HR|Armor permutations (Halo: Reach)|Armory|Quote=Designed and tested at Beweglichrüstungsysteme, this helmet is fully compatible with all armor systems.|Quotee=Official description}}</pre>
{{Ref/Game|Id=HRJFOHelmet|HR|Armor permutations (Halo: Reach)|Armory|Quote=Designed and tested at Beweglichrüstungsysteme, this helmet is fully compatible with all armor systems.|Quotee=Official description}}
{{Ref/Game|Id=HRJFOHelmet|HR|Armor permutations (Halo: Reach)|Armory|Quote=Designed and tested at Beweglichrüstungsysteme, this helmet is fully compatible with all armor systems.|Quotee=Official description}}
{{Ref/Sources}}
{{Ref/Sources}}
158

edits