Template:TipChoice/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis (historical)
m (update)
imported>Sekoia (historical)
mNo edit summary
 
(2 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==
This template is for use on Tip Missions. There are four required variables; not returning these variables will result in errors.
This template is for use on Tip Missions. There are four variables.


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


== Examples ==
== Examples ==
{{tl|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=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}}
<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}}
{{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}}