Template:Battle-sub: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>LostInRiverview No edit summary |
sims>LostInRiverview mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{Subst template}}</noinclude> |
<noinclude>{{Subst template}}</noinclude> |
||
=={{{title}}}== |
|||
{| style ="width: 100%;" |
{| style ="width: 100%;" |
||
|width=20%| |
|width=20%| |
Revision as of 06:49, 20 January 2011
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}}}
[[File:{{{l-image}}}|250px]] |
![]() |
[[File:{{{r-image}}}|250px]] | |||
WINNER! Undecided |
End Date:
{{{end}}} | ||||
{{{l-votes}}} |
{{{r-votes}}} | ||||
Comments |
- 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?)