Template:Mold: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(13 intermediate revisions by 3 users not shown)
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 mw-collapsible mw-collapsed" 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}}}|}}"
!class="tt1_chapters-header-title"|{{#if:{{{series|}}}|'''{{{series}}} Mold:'''|}} {{{title}}}
!class="tt1_chapters-header-title"|{{#if:{{{series|}}}|'''{{{series}}} mold:'''|}} {{{title}}}
{{#if:{{{content|}}}|{{!}}-  
{{#if:{{{content|}}}|{{!}}-  
{{!}} colspan="3" class="tt1_chapters-contents" {{#if:{{{align|}}}|style="text-align:{{{align}}};"|}}{{!}}
{{!}} colspan="3" class="tt1_chapters-contents" {{#if:{{{align|}}}|style="text-align:{{{align}}};"|}}{{!}}
{{{content}}}|}}
{{{content}}}|}}
{{#if:{{{designer|}}}|style="text-align:right;"|}}
{{#if:{{{designer|}}}|{{!}}-
{{{designer}}}|}}
{{!}} colspan="3" class="tt1_chapters-contents" style="text-align:right;"{{!}}
<small>{{{designer}}}</small>|}}
|}</includeonly><noinclude>{{doc}}
|}</includeonly><noinclude>{{doc}}


[[Category:Mold templates| ]]
</noinclude>
</noinclude>

Latest revision as of 04:09, 8 June 2016

(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: mold name

designer

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 mold: This uses style 1
series mold: This uses style 2
series mold: This uses style 3