Template:CharacterTable: Difference between revisions

From Dragon Quest Wiki
(Created page with "<noinclude> See Template:CharacterTable/doc for documentation on this template.<br/> {{{PAGENAME}}} </noinclude> <onlyinclude><includeonly> {…")
 
(adding category)
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:CharacterTable/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Character templates|{{{PAGENAME}}}]]
[[Category:Character templates|{{PAGENAME}}]]
[[Category:Meta templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| header = {{{!}} cellpadding="0" cellspacing="0" style="width:200px" class="characterTemplateTable collapsible {{#if: {{{collapsed|}}} | collapsed }}"  
| header = {{{!}} cellpadding="0" cellspacing="0" style="width:200px" class="characterTemplateTable"  
! class="characterTemplateHeader" colspan="2" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}&nbsp;
! class="characterTemplateHeader" colspan="2" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}&nbsp;
{{!}}-
{{!}}-
Line 15: Line 16:
{{!}} class="characterTemplateCell" {{!}} {{{entry1}}}
{{!}} class="characterTemplateCell" {{!}} {{{entry1}}}
{{!}} class="characterTemplateCell" {{!}} {{{entry2}}}
{{!}} class="characterTemplateCell" {{!}} {{{entry2}}}
{{!}}-
| note =
{{!}}-
{{!}} class="characterTemplateCell" colspan="2" {{!}} {{{text}}}
{{!}}-
{{!}}-
| footer = {{!}}} }}
| footer = {{!}}} }}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Revision as of 11:51, 18 May 2011

This template is a base template for other character templates. It is not intended to be called on regular articles, but only by other character templates.