Template:Battle-sub
Jump to navigation
Jump to search
Substitution-only Template
This template is not for transclusion and must be put on pages using substitution with the subst prefix. Eg.
{{subst:Template}}
{{{title}}}[edit source]
[[File:{{{l-image}}}|250px]] |
[[File:{{{r-image}}}|250px]] | ||||
WINNER! Undecided |
End Date:
{{{end}}} | ||||
{{{l-votes}}}[edit source] |
{{{r-votes}}}[edit source] | ||||
Comments[edit source] |
- Uses
For use as a Substituted (subst.) template onto The Sims Wiki:Battles.
- Syntax
Copy and paste the following template onto the page, and complete all parameters ('winner' is optional).
{{subst:Battle-sub |title = |l-image = |l-tagline = |r-image = |r-tagline = |winner = |end = |caption = |l-votes = |r-votes = }}
- Parameters
- title is used for the Name of the battle; it's placed in a level 2 header at the top of the battle.
- l-image is used for the left contestant's image. It automatically sizes to 250px.
- l-tagline is used for the text that appears above the left contestant's image. It is italicized automatically.
- r-image is used for the right contestant's image. It automatically sizes to 250px.
- r-tagline is used for the text that appears above the right contestant's image. It is italicized automatically.
- winner is an optional parameter. If left empty, it defaults to 'Undecided'.
- end is for the end date. {{Countdown}} can also be used here, if preferred.
- caption is for the text that appears in between the end date and winner boxes, underneath the images but above the votes.
- l-votes is the section header for the left contestant's voting column.
- r-votes is the section header for the right contestant's voting column.
Visit Template:Battle-sub/doc to edit this text! (How does this work?) (Refresh this text - why?)