Template:Class: Difference between revisions

Template page
No edit summary
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Short (label=Short Description)|Description}}
{{#template_params:Short (label=Short Description)|Description|isMaster|headerImage}}
{{#cargo_declare:_table=Classes|Short=Wikitext|Description=Wikitext}}
{{#cargo_declare:_table=Classes|Name=String|Short=Wikitext|Description=Wikitext}}
</noinclude><includeonly>{{#cargo_store:_table=Classes}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Classes|Name={{SUBPAGENAME}}}}
{{#template_display:_format=plain}}
<yambe:breadcrumb>Classes</yambe:breadcrumb>}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]
</h3>}}
{{{Description}}}
[[Category:Classes]]
[[Category:Classes]]
</includeonly>
</includeonly>

Latest revision as of 20:13, 10 June 2023

This is the "Class" template.

It should be called in the following format:

{{Class
|Short=
|Description=
|isMaster=
|headerImage=
}}

Edit the page to see the template text.

This template defines the table "Classes". View table.