Template:TipChoice/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Ankhani
(TipChoice documentation)
 
imported>Sekoia
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
==Usage==
For Use on Tip Mission pages: Use <nowiki>{{{align}}}</nowiki> for with one of the alignment icons and Name:
This template is for use on Tip Missions. There are four variables.
*Hero
*Vigilante
*Rogue
*Villian


<nowiki>{{{choice}}}</nowiki> is for the mission acceptance text. (e.g. "Stop the Rikti Raid." or "Go after the Nemesis decoding equipment before it slips away.")
# '''align1''' = Must be either ''Hero'' or ''Villain''. (Required)
==See also==
# '''choice1''' = What the first alignment choice box says. (Required)
# '''align2''' = If present, must be either ''Vigilante'' or ''Rogue''. (Optional)
# '''choice2''' = What the second alignment choice box says. (Required if align2 is used)
 
== Examples ==
<nowiki>{{TipChoice|align1=Hero|choice1=Hero Choice Text|align2=Vigilante|choice2=Vigilante Choice Text}}</nowiki>
{{TipChoice|align1=Hero|choice1=Hero Choice Text|align2=Vigilante|choice2=Vigilante Choice Text}}
 
<nowiki>{{TipChoice|align1=Villain|choice1=Villain Choice Text|align2=Rogue|choice2=Rogue Choice Text}}</nowiki>
{{TipChoice|align1=Villain|choice1=Villain Choice Text|align2=Rogue|choice2=Rogue Choice Text}}
 
<nowiki>{{TipChoice|align1=Hero|choice1=Hero Choice Text}}</nowiki>
{{TipChoice|align1=Hero|choice1=Hero Choice Text}}
 
<nowiki>{{TipChoice|align1=Villain|choice1=Villain Choice Text}}</nowiki>
{{TipChoice|align1=Villain|choice1=Villain Choice Text}}


<includeonly><!--
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
</includeonly>
</includeonly>

Latest revision as of 06:19, 15 December 2011

This is a documentation subpage for Template:TipChoice (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

This template is for use on Tip Missions. There are four variables.

  1. align1 = Must be either Hero or Villain. (Required)
  2. choice1 = What the first alignment choice box says. (Required)
  3. align2 = If present, must be either Vigilante or Rogue. (Optional)
  4. choice2 = What the second alignment choice box says. (Required if align2 is used)

Examples

{{TipChoice|align1=Hero|choice1=Hero Choice Text|align2=Vigilante|choice2=Vigilante Choice Text}}

{{TipChoice|align1=Villain|choice1=Villain Choice Text|align2=Rogue|choice2=Rogue Choice Text}}

{{TipChoice|align1=Hero|choice1=Hero Choice Text}}

{{TipChoice|align1=Villain|choice1=Villain Choice Text}}