Template:Characterbox: Difference between revisions

From Unforgotten Realms Wiki
Jump to navigationJump to search
No edit summary
m Make Characterbox gallery link template-driven
Line 14: Line 14:
{{#if:{{{campaigns|}}} |<tr><td><b>Campaigns</b></td><td>{{{campaigns}}} </td></tr>}}
{{#if:{{{campaigns|}}} |<tr><td><b>Campaigns</b></td><td>{{{campaigns}}} </td></tr>}}
{{#if:{{{seasons|}}} |<tr><td><b>Seasons</b></td><td>{{{seasons}}} </td></tr>}}
{{#if:{{{seasons|}}} |<tr><td><b>Seasons</b></td><td>{{{seasons}}} </td></tr>}}
{{#if:{{{gallery|}}} |<tr><td colspan="2" style="text-align:center;">'''[[:{{PAGENAME}}/Gallery|<span style="color:white;background: #8B4513;text-align: center;padding-left: 8px;padding-right: 8px;padding-top: 2px;padding-bottom: 2px;border-radius:150px;">Gallery</span>]]'''</td></tr>}}
<tr><td colspan="2" style="text-align:center;">'''[[:{{FULLPAGENAME}}/Gallery|<span style="color:white;background: #8B4513;text-align: center;padding-left: 8px;padding-right: 8px;padding-top: 2px;padding-bottom: 2px;border-radius:150px;">Gallery</span>]]'''</td></tr>
</table>
</table>



Revision as of 16:01, 28 April 2026






{{{name}}}
{{{image}}}
Gallery


All fields except name and image are optional
{{Characterbox
|name=
|website= local Character Status/Inventory slug
|image=
|race=
|class=
|affiliation=
|gender=
|status=
|relationship=
|alias=
|actor=
|talk=
|campaigns=
|seasons=
|gallery=
}}