Editing TemplateDoc:Ref/Game
From Halopedia, the Halo wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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 additional parameters seen [[#Parameters|below]] | 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. | ||
====Citing a general description==== | ====Citing a general description==== | ||
<pre><nowiki>{{Ref/Game|Id= | <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= | <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 | |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. | ||
|<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 | *[[Template:Internal/Error/ClobberedParam|Overwritten parameter]] - If the same paramater 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==== |