Template:TipChoice/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Ankhani
(TipChoice documentation)
 
imported>Aggelakis
m (update)
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 required variables; not returning these variables will result in errors.
*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''
==See also==
# '''choice1''' = what the first alignment choice box says.
# '''align2''' = Must be either ''Vigilante'' or ''Rogue''
# '''choice2''' = what the second alignment choice box says.
 
== Examples ==
{{tl|TipChoice|align1=Hero|choice1=Hero Choice Text|align2=Vigilante|choice2=Vigilante Choice Text}}
{{TipChoice|align1=Hero|choice1=Hero Choice Text|align2=Vigilante|choice2=Vigilante Choice Text}}
 
{{tl|TipChoice|align1=Villain|choice1=Villain Choice Text|align2=Rogue|choice2=Rogue Choice Text}}
{{TipChoice|align1=Villain|choice1=Villain Choice Text|align2=Rogue|choice2=Rogue 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>

Revision as of 02:20, 31 August 2010

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 required variables; not returning these variables will result in errors.

  1. align1 = Must be either Hero or Villain
  2. choice1 = what the first alignment choice box says.
  3. align2 = Must be either Vigilante or Rogue
  4. choice2 = what the second alignment choice box says.

Examples

{{TipChoice}}

{{TipChoice}}