Editing TemplateDoc:Ref/Marketing

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 2: Line 2:


==Description==
==Description==
This template should be used when citing marketing media created for other pieces of ''Halo'' media. For other citation templates, see [[Template:Ref]].
This template should be used when citing marketing media created for other pieces of ''Halo'' media.
 
For other citation templates, see [[Template:Ref]].


==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 standalone marketing piece====
====Citing a standalone marketing piece====
<pre><nowiki>
<pre><nowiki>
{{Ref/Marketing|Id=Ref ID|Marketed media name or acronym|Piece of marketing you're citing}}
{{Ref/Marketing|Id=ref_id|marketed_media_name_or_acronym|piece_of_marketing_youre_citing}}
</nowiki></pre>
</nowiki></pre>


====Citing a piece from a larger marketing campaign====
====Citing a piece from a larger marketing campaign====
<pre><nowiki>{{Ref/Marketing|Id=Ref ID|Marketed media name or acronym|Name of marketing campaign|Piece of marketing you're citing}}</nowiki></pre>
<pre><nowiki>{{Ref/Marketing|Id=ref_id|marketed_media_name_or_acronym|name_of_marketing_campaign|piece_of_marketing_youre_citing}}</nowiki></pre>


===Parameters===
===Parameters===
Line 83: Line 85:
This template can emit the following warnings:
This template can emit the following warnings:


* [[Template:Internal/Warning/MissingParam|Missing recommended parameter]] - If a recommended parameter is not passed to the template.
*[[Template:Internal/Warning/MissingParam|Missing recommended parameter]] - If a recommended parameter is not passed to the template.
* [[Template:Internal/Warning/DeprecatedParam|Deprecated parameter]] - If a deprecated template parameter is used in a template call.
*[[Template:Internal/Warning/DeprecatedParam|Deprecated parameter]] - If a deprecated template parameter is used in a template call.


====Errors====
====Errors====
This template can throw the following errors:
This template can throw the following errors:


* [[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.