Template:Mold: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Created page with "<includeonly>{| class="tt1_chapters" style="{{#ifeq:{{{center|}}}|false||margin-left:auto;margin-right:auto;}}{{#if:{{{float|}}}|float:{{{float}}};|}}" |- class="tt1_chapters-..."
 
mNo edit summary
Line 1: Line 1:
<includeonly>{| class="tt1_chapters" style="{{#ifeq:{{{center|}}}|false||margin-left:auto;margin-right:auto;}}{{#if:{{{float|}}}|float:{{{float}}};|}}"
<includeonly>{| class="tt1_chapters" style="{{#ifeq:{{{center|}}}|false||margin-left:auto;margin-right:auto;}}{{#if:{{{float|}}}|float:{{{float}}};|}}"
|- class="tt1_chapters-header tt1_secondarynav{{#if:{{{style|}}}|<nowiki> </nowiki>style{{{style}}}|}}"
|- class="tt1_chapters-header tt1_secondarynav{{#if:{{{style|}}}|<nowiki> </nowiki>style{{{style}}}|}}"
|{{#if:{{{series|}}}|[[{{{series}}}|&laquo;]]|}}
|{{#if:{{{series|}}}|{{{series}}}|}}
!class="tt1_chapters-header-title"|{{{title}}}}}
!class="tt1_chapters-header-title"|{{{title}}}}}
{{#if:{{{content|}}}|{{!}}-  
{{#if:{{{content|}}}|{{!}}-  

Revision as of 20:09, 2 October 2015

(Transcluded documentation: view)

{{mold}} is used to create a "mold Navigation" item.

{{mold
|series=series
|title=mold name
|designer=designer of the mold
|center=true (optional, default is true.  centers the entire box unit)
|align=left (optional, [ left, center, right ] Default is center.  Aligns the text within the main box.)
|float=none (make sure to set "center=false" if you want to float this!)
|content=*[[List Item 1]]
*[[List Item 2]]
*[[List Item 3]]
*[[List Item 4]]
*[[List Item 5]]
}}
series mold name}}

An optional parameter style=2 creates a version with a gray header that can be used when you want to list items like this, or a tan header that matches episode/comic issue info templates.

series This uses style 1}}
series This uses style 2}}
series This uses style 3}}