Template:Battle-sub: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>LostInRiverview No edit summary |
m (6 revisions imported: Import from https://sims.wikia.com) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Subst template}}</noinclude> |
<noinclude>{{Subst template}}</noinclude> |
||
=={{{title}}}== |
|||
{| style ="width: 100%;" |
{| style ="width: 100%;" |
||
|width=20%| |
|width=20%| |
||
Line 8: | 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}} |
||
Line 23: | Line 22: | ||
==={{{l-votes}}}=== |
==={{{l-votes}}}=== |
||
<!-- Place you signature and comments below this line --> |
<!-- Place you signature and comments below this line - remember to sign using ~~~~! --> |
||
<!-- DO NOT EDIT ANYTHING AT OR BELOW THIS LINE!!!!--> |
<!-- DO NOT EDIT ANYTHING AT OR BELOW THIS LINE!!!!--> |
||
Line 29: | Line 28: | ||
==={{{r-votes}}}=== |
==={{{r-votes}}}=== |
||
<!-- Place you signature and comments below this line --> |
<!-- Place you signature and comments below this line - remember to sign using ~~~~! --> |
||
<!-- DO NOT ADD COMMENTS OR EDIT ANYTHING BELOW THIS LINE!!! --> |
<!-- DO NOT ADD COMMENTS OR EDIT ANYTHING BELOW THIS LINE!!! --> |
||
Line 36: | Line 35: | ||
===Comments=== |
===Comments=== |
||
<!-- Place your comments below this line--> |
<!-- Place your comments below this line - remember to sign using ~~~~!--> |
||
<!-- Place your comments above this line--> |
<!-- Place your comments above this line--> |
Latest revision as of 18:56, 28 February 2019
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?)