Jump to content

Template:Infobox Worm arc: Difference between revisions

From Worm Wiki
Undo revision 41754 by Ethicalhamjimmies (talk)
Undo revision 41753 by Ethicalhamjimmies (talk)
Line 1: Line 1:
<infobox>
{| class="infobox" style="font-size:89%; width:300px;"
<title source="name"><default>{{PAGENAME}}</default></title>
|-
<data source="number"><label>number</label></data>
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | ''{{{name}}}''
<data source="chapters"><label>chapters</label></data>
|- style="text-align:center;"
<data source="words"><label>'''Words'''<br />{{{words}}}</label></data>
| colspan="2" | ''Arc {{{number}}}''
<data source="start"><label>start</label></data>
|- style="text-align:center;"
<data source="end"><label>'''Date started'''<br />{{{start}}}</label></data>
{{#if: {{{chapter count|}}} | {{!}} '''Chapter count''' {{!!}} {{{ chapter count}}} }}
<data source="previous"><label>previous</label></data>
{{#if: {{{word count|}}} | {{!}} '''Word count''' {{!!}} {{{ word count}}} }}
<data source="next"><label>'''Previous'''<br />{{{previous}}}</label></data>
|-
</infobox>
|- style="text-align:center; font-size:95%;" valign="top"
<noinclude>
| '''Chapter Count'''<br />{{{chapter count}}}
== Usage & preview ==
| '''Word Count'''<br />{{{word count}}}
Type in this:
|- style="text-align:center; font-size:95%;" valign="top"
 
| '''Date started'''<br />{{{start}}}
<pre>
| '''Date finished'''<br />{{{end}}}
{{Infobox arc
|-
|name=
| colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:0.25em; text-align:center;" | Arc guide
|number=
|- style="text-align:center; font-size:95%;" valign="top"
|chapter count=
| '''Previous'''<br />{{{previous}}}
|word count=
| '''Next'''<br />{{{next}}}
|start=
|-
|end=
|}<noinclude><br style="clear:both;" />
|previous=
{{documentation}}</noinclude>
|next=
}}
 
</pre>
 
to see this:
 
{{Infobox arc
|name=This is a test
|number=This is a test
|chapter count=This is a test
|word count=This is a test
|start=This is a test
|end=This is a test
|previous=This is a test
|next=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>

Revision as of 13:40, May 3, 2019

{{#if: | | Chapter count || {{{ chapter count}}} }} {{#if: | | Word count || {{{ word count}}} }}
{{{name}}}
Arc {{{number}}}
Chapter Count
{{{chapter count}}}
Word Count
{{{word count}}}
Date started
{{{start}}}
Date finished
{{{end}}}
Arc guide
Previous
{{{previous}}}
Next
{{{next}}}


Template documentation (for the above template, sometimes hidden or invisible)