Template:Infobox: Difference between revisions

From Spoon Stories
Infobox>Primefac
(Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, reverting until it can be sorted)
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
<div class="infobox">
{{documentation}}
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<table class="infobox-table">{{#if:{{{entitynum|}}}|<tr>
    <th>Entity Number</th>
    <td>{{{entitynum}}}</td>
</tr>}}{{#if:{{{gender|}}}|<tr>
    <th>Gender</th>
    <td>{{{gender}}}</td>
</tr>}}{{#if:{{{age|}}}|<tr>
    <th>Age</th>
    <td>{{{age}}}</td>
</tr>}}{{#if:{{{species|}}}|<tr>
    <th>Species</th>
    <td>{{{species}}}</td>
</tr>}}{{#if:{{{oggame|}}}|<tr>
    <th>Original Game</th>
    <td>{{{oggame}}}</td>
</tr>}}{{#if:{{{pronouns|}}}|<tr>
    <th>Pronouns</th>
    <td>{{{pronouns}}}</td>
</tr>}}{{#if:{{{entitytype|}}}|<tr>
    <th>Entity Type</th>
    <td>{{{entitytype}}}</td>
</tr>}}{{#if:{{{dangerlevel|}}}|<tr>
    <th>Danger Level</th>
    <td>{{{dangerlevel}}}</td>
</tr>}}</table>
</div>
 
<noinclude>
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 21:20, 23 February 2025

Infobox