Jump to content

Template:Set Infobox: Difference between revisions

From The Petit Planet Wiki
Eleiyas (talk | contribs)
mNo edit summary
Shirra (talk | contribs)
No edit summary
 
Line 2: Line 2:
<title source="name">
<title source="name">
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
<format>{{#if:{{{icon|}}}|{{Icon|{{{name|}}}}}|}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</format>
<format>{{#if:{{{icon|}}}|{{Icon|{{{name|}}}}}|}}&nbsp;{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</format>
</title>
</title>
<header name="secondary_title">{{{subtitle|}}}</header>
<header name="secondary_title">{{{subtitle|}}}</header>
Line 28: Line 28:
-->{{#if:{{{name|}}}{{{displaytitle|}}}|{{#ifeq:{{{PAGENAME}}}|{{{name}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{name}}}}}}|noreplace}}}}}}}}<!--
-->{{#if:{{{name|}}}{{{displaytitle|}}}|{{#ifeq:{{{PAGENAME}}}|{{{name}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{name}}}}}}|noreplace}}}}}}}}<!--
-->}}<!--
-->}}<!--
  Sort
-->{{#if:{{{number|}}}|[[Category:Set|{{{number}}}]]|[[Category:Set]][[Category:Set Missing Number]]}}<!--
    Type
-->{{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}<!--
-->{{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}<!--
-->{{#if:{{{type2|}}}|[[Category:{{{type2|}}}]]}}<!--
-->{{#if:{{{type2|}}}|[[Category:{{{type2|}}}]]}}<!--

Latest revision as of 15:53, 16 November 2025

Template documentation
Note: parts of or the entire template might not be visible without values provided.

The documentation for this template is missing. Click here to create it.