Editing TemplateDoc:Ref/Game

From Halopedia, the Halo wiki

You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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]] such as 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 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=Ref ID|Game name or acronym|Description of what you are citing}}</nowiki></pre>
<pre><nowiki>{{Ref/Game|Id=ref_id|game_name_or_initials|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 acronym|Page name|Description of what you are citing}}</nowiki></pre>
<pre><nowiki>{{Ref/Game|Id=ref_id|game_name_or_initials|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 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.
|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 parameter is given multiple values in the template call.
*[[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====

Please note that all contributions to Halopedia are considered to be released under the Attribution-ShareAlike 3.0 Unported license (see Halopedia:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

To view or search uploaded images go to the list of images. Uploads and deletions are also logged in the upload log. For help including images on a page see Help:Images. For a sound file, use this code: [[Media:File.ogg]].

Do not copy text from other websites without permission. It will be deleted.