Template:Battle-sub/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>A morris
m (adding category)
m (4 revisions imported: Import from https://sims.wikia.com)
 
(2 intermediate revisions by 2 users not shown)
Line 30: Line 30:
*'''r-votes''' is the section header for the right contestant's voting column.
*'''r-votes''' is the section header for the right contestant's voting column.
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:The Sims Wiki Battles|{{PAGENAME}}]]</includeonly>

Latest revision as of 18:56, 28 February 2019

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.