Template:Char: Difference between revisions
From Pradeshverse Wiki
Allow category override for deity pages while retaining Characters as the default Tag: Reverted |
Keep Char template dedicated to Characters; Gods now use separate Deity template Tag: Manual revert |
||
| Line 36: | Line 36: | ||
{{#if:{{{friends|}}}|<div style="display: flex; padding: 4px 0;"><div style="font-weight: bold; color: #6E540C; width: 40%; flex-shrink: 0;">Friends:</div><div style="color: #1a2a3a; width: 60%;">{{{friends}}}</div></div>}} | {{#if:{{{friends|}}}|<div style="display: flex; padding: 4px 0;"><div style="font-weight: bold; color: #6E540C; width: 40%; flex-shrink: 0;">Friends:</div><div style="color: #1a2a3a; width: 60%;">{{{friends}}}</div></div>}} | ||
</div><includeonly>[[Category: | </div><includeonly>[[Category:Characters]]</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Copy and paste the template code below onto any character page. Fill out the parameters following the vertical pipes (`|`). Leaving a field blank will hide the row automatically to keep the layout crisp. | Copy and paste the template code below onto any character page. Fill out the parameters following the vertical pipes (`|`). Leaving a field blank will hide the row automatically to keep the layout crisp. | ||
=== Blank Template Example === | === Blank Template Example === | ||
Latest revision as of 14:29, 17 October 2026
Usage
Copy and paste the template code below onto any character page. Fill out the parameters following the vertical pipes (`|`). Leaving a field blank will hide the row automatically to keep the layout crisp.
Blank Template Example
{{Char
| CharacterName =
| image1 =
| caption-image1 =
| full_name =
| affiliation =
| clan =
| magic =
| status =
| occupation =
| height =
| eye_color =
| hair_color =
| weight =
| build =
| significant_other =
| children =
| Father =
| mother =
| other_family =
| friends =
}}
