Template:Battle-sub: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>LostInRiverview mNo edit summary |
sims>Random Ranaun No edit summary |
||
Line 9: | Line 9: | ||
|width=20%| |
|width=20%| |
||
|- |
|- |
||
|colspan="2" style="width: 40%; background: #FFFFFF; border-top: thick solid #344790; border-left: thick solid #344790; border-bottom: thick solid #344790;" valign=botton|<center>''{{{l-tagline}}}''</center> |
|colspan="2" style="width: 40%; background: #FFFFFF; border-top: thick solid #344790; border-left: thick solid #344790; border-bottom: thick solid #344790;" valign=botton|<center>''{{{l-tagline}}}''<br>[[File:{{{l-image}}}|250px]]</center> |
||
[[File:{{{l-image}}}|250px]] |
|||
|colspan="2" style="width: 20%; background: #FFFFFF; border-top: thick solid #3571C3; border-bottom: thick solid #3571C3; text-align: center" valign="center"|[[File:Plumbob.jpg]] |
|colspan="2" style="width: 20%; background: #FFFFFF; border-top: thick solid #3571C3; border-bottom: thick solid #3571C3; text-align: center" valign="center"|[[File:Plumbob.jpg]] |
||
|colspan="2" style="width: 40%; background: #FFFFFF; border-top: thick solid #344790;; border-right: thick solid #344790; border-bottom: thick solid #344790;"|<center>''{{{r-tagline}}}''</center> |
|colspan="2" style="width: 40%; background: #FFFFFF; border-top: thick solid #344790;; border-right: thick solid #344790; border-bottom: thick solid #344790;"|<center>''{{{r-tagline}}}''<br>[[File:{{{r-image}}}|250px]]</center> |
||
[[File:{{{r-image}}}|250px]] |
|||
|- |
|- |
||
|style="width: 20%; background: #FFFFFF; border: thick solid #777777;" align=center|'''WINNER!'''<br />''{{#if: {{{winner|}}}|{{{winner}}}|Undecided}} |
|style="width: 20%; background: #FFFFFF; border: thick solid #777777;" align=center|'''WINNER!'''<br />''{{#if: {{{winner|}}}|{{{winner}}}|Undecided}} |
Revision as of 00:25, 24 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?)