Jump to content

Template:Character: Difference between revisions

From Sundering the Gods
No edit summary
Tag: Reverted
 
(48 intermediate revisions by the same user not shown)
Line 4: Line 4:
== Usage ==
== Usage ==
Fill in the fields as appropriate. For DPL to work, ensure chapter pages are tagged with <nowiki>[[Category:CharacterName]]</nowiki> for Appearances and <nowiki>[[Category:CharacterName Mention]]</nowiki> for Mentions. If DPL is not installed, use the Appearances and Mentions fields to manually list chapters.
Fill in the fields as appropriate. For DPL to work, ensure chapter pages are tagged with <nowiki>[[Category:CharacterName]]</nowiki> for Appearances and <nowiki>[[Category:CharacterName Mention]]</nowiki> for Mentions. If DPL is not installed, use the Appearances and Mentions fields to manually list chapters.
'''New: Video parameter''' – For short native videos you upload yourself (recommended: .webm or .mp4 files, keep under 20 MB). 
Example: |Video=[[File:Tokodin_clip.webm|240px|center]]
Book-specific spoiler sections can be added using the book parameters (e.g., |eve_of_snows=, |trail_of_pyres=). Only books with content will be displayed.


Example:
Example:
Line 13: Line 18:
|Born=Unknown
|Born=Unknown
|Died=Unknown
|Died=Unknown
|Status=Alive
|Alias=None
|Alias=None
|Affiliation=Istinjoln Monastery
|Affiliation=Istinjoln Monastery
|Religion=Sol
|Religion=Sol
|Culture=Silone
|Culture=Silone
|Occupation=Monk
|Titles=None
|Spouse=None
|Spouse=None
|Children=None
|Children=None
|Parents=Unknown
|Parents=Unknown
|Siblings=None
|Siblings=None
|Relatives=Unknown
|Other_Relatives=Unknown
|Notes=None
|Notes=None
|Family=Unknown
|Image=Tokodin.png
|Image=Tokodin.png
|Image_size=250px
|Image_size=250px
|Image_caption=Tokodin, monk of Istinjoln
|Image_caption=Tokodin, monk of Istinjoln
|Video=[[File:Tokodin_clip.mp4|240px|center]]
|Introduction=
|History=
|Personality=Unknown
|Physical_description=Unknown
|Relationships=
|Legacy=
|eve_of_snows=
|trail_of_pyres=
|whispers_of_ghosts=
|shadows_of_man=
|silhouettes_in_doom=
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{| class="infobox" style="width: 22em; font-size: 90%; text-align: left; border: 1px solid #AAAAAA; float: right; margin: 0 0 1em 1em; background-color: #FFFFFF; color: #000000;"
{| class="infobox"
|-
|-
! colspan="2" style="text-align:center; font-size:125%; background-color:#E6E6E6; color:#000000;" | {{{Title|{{PAGENAME}}}}}
! colspan="2" style="text-align:center; font-size:125%; background-color:#E6E6E6; color:#000000;" | {{{Title|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align:center;" | [[File:{{{Image|Default_Image_for_Wiki.png}}}|{{{Image_size|250px}}}|{{{Image_caption|No image available}}}]]
| colspan="2" style="text-align:center;" | [[File:{{{Image|Default_Image_for_Wiki.png}}}|{{{Image_size|250px}}}|{{{Image_caption|No image available}}}]]
|-
| colspan="2" style="text-align:center; padding: 8px 0;" |
{{#if: {{{Video|}}} |
<div class="video-thumb" style="margin: 0 auto; max-width: 260px;">
{{{Video}}}
</div>
}}
|-
|-
! style="background-color:#F5F5F5; color:#000000;" | Full Name
! style="background-color:#F5F5F5; color:#000000;" | Full Name
Line 51: Line 72:
! style="background-color:#F5F5F5; color:#000000;" | Died
! style="background-color:#F5F5F5; color:#000000;" | Died
| style="color:#000000;" | {{{Died|Unknown}}}
| style="color:#000000;" | {{{Died|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Status
| style="color:#000000;" | {{{Status|Unknown}}}
|-
|-
! style="background-color:#F5F5F5; color:#000000;" | Alias
! style="background-color:#F5F5F5; color:#000000;" | Alias
Line 64: Line 82:
| style="color:#000000;" | {{{Religion|Unknown}}}
| style="color:#000000;" | {{{Religion|Unknown}}}
|-
|-
! style="background-color:#F5F5F5; color:#000000;" | Appearances
! style="background-color:#F5F5F5; color:#000000;" | Culture
| style="color:#000000;" |  
| style="color:#000000;" | {{{Culture|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Spouse
| style="color:#000000;" | {{{Spouse|None}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Children
| style="color:#000000;" | {{{Children|None}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Parents
| style="color:#000000;" | {{{Parents|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Siblings
| style="color:#000000;" | {{{Siblings|None}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Other Relatives
| style="color:#000000;" | {{{Other_relatives|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Notes
| style="color:#000000;" | {{{Notes|None}}}
|}
<div class="content-wrapper">
== Introduction ==
{{{Introduction|}}}
 
== History ==
{{{History|}}}
 
== Personality ==
{{{Personality|Unknown}}}
 
== Physical Description ==
{{{Physical_description|Unknown}}}
 
{{#if: {{{eve_of_snows|}}} |
<div class="book-header" style="font-size: 1.2em; font-weight: bold; border-bottom: 1px solid #aaa; padding-bottom: 3px; margin-bottom: 10px;">
=== Eve of Snows ===
</div>
<div class="mw-collapsible mw-collapsed" data-expandtext="[Reveal Spoilers]" data-collapsetext="[Hide Spoilers]" style="margin-bottom: 20px;">
{{{eve_of_snows}}}
</div>
}}
 
{{#if: {{{trail_of_pyres|}}} |
<div class="book-header" style="font-size: 1.2em; font-weight: bold; border-bottom: 1px solid #aaa; padding-bottom: 3px; margin-bottom: 10px;">
=== Trail of Pyres ===
</div>
<div class="mw-collapsible mw-collapsed" data-expandtext="[Reveal Spoilers]" data-collapsetext="[Hide Spoilers]" style="margin-bottom: 20px;">
{{{trail_of_pyres}}}
</div>
}}
 
{{#if: {{{whispers_of_ghosts|}}} |
<div class="book-header" style="font-size: 1.2em; font-weight: bold; border-bottom: 1px solid #aaa; padding-bottom: 3px; margin-bottom: 10px;">
=== Whispers of Ghosts ===
</div>
<div class="mw-collapsible mw-collapsed" data-expandtext="[Reveal Spoilers]" data-collapsetext="[Hide Spoilers]" style="margin-bottom: 20px;">
{{{whispers_of_ghosts}}}
</div>
}}
 
{{#if: {{{the_contessa_of_mostul_ubar|}}} |
<div class="book-header" style="font-size: 1.2em; font-weight: bold; border-bottom: 1px solid #aaa; padding-bottom: 3px; margin-bottom: 10px;">
=== The Contessa of Mostul Ûbar ===
</div>
<div class="mw-collapsible mw-collapsed" data-expandtext="[Reveal Spoilers]" data-collapsetext="[Hide Spoilers]" style="margin-bottom: 20px;">
{{{the_contessa_of_mostul_ubar}}}
</div>
}}
 
{{#if: {{{shadows_of_man|}}} |
<div class="book-header" style="font-size: 1.2em; font-weight: bold; border-bottom: 1px solid #aaa; padding-bottom: 3px; margin-bottom: 10px;">
=== Shadows of Man ===
</div>
<div class="mw-collapsible mw-collapsed" data-expandtext="[Reveal Spoilers]" data-collapsetext="[Hide Spoilers]" style="margin-bottom: 20px;">
{{{shadows_of_man}}}
</div>
}}
 
{{#if: {{{silhouettes_in_doom|}}} |
<div class="book-header" style="font-size: 1.2em; font-weight: bold; border-bottom: 1px solid #aaa; padding-bottom: 3px; margin-bottom: 10px;">
=== Silhouettes in Doom ===
</div>
<div class="mw-collapsible mw-collapsed" data-expandtext="[Reveal Spoilers]" data-collapsetext="[Hide Spoilers]" style="margin-bottom: 20px;">
{{{silhouettes_in_doom}}}
</div>
}}
 
{{#if: {{{best_painted_in_blood|}}} |
<div class="book-header" style="font-size: 1.2em; font-weight: bold; border-bottom: 1px solid #aaa; padding-bottom: 3px; margin-bottom: 10px;">
=== Best Painted in Blood ===
</div>
<div class="mw-collapsible mw-collapsed" data-expandtext="[Reveal Spoilers]" data-collapsetext="[Hide Spoilers]" style="margin-bottom: 20px;">
{{{best_painted_in_blood}}}
</div>
}}
 
{{#if: {{{the_war_of_seven_lies|}}} |
<div class="book-header" style="font-size: 1.2em; font-weight: bold; border-bottom: 1px solid #aaa; padding-bottom: 3px; margin-bottom: 10px;">
=== The War of Seven Lies ===
</div>
<div class="mw-collapsible mw-collapsed" data-expandtext="[Reveal Spoilers]" data-collapsetext="[Hide Spoilers]" style="margin-bottom: 20px;">
{{{the_war_of_seven_lies}}}
</div>
}}
 
== Appearances ==
<div class="mw-collapsible mw-collapsed" data-expandtext="[Show]" data-collapsetext="[Hide]" style="margin-bottom: 20px;">
<div class="appearances">
{{#ifexist:Category:{{PAGENAME}}|
{{#ifexist:Category:{{PAGENAME}}|
=== EoS Chapters ===
{{#dpl:
{{#dpl:
|category = {{PAGENAME}}
|category = {{PAGENAME}}
|namespace = 0
|namespace = 0
|titlematch = EoS Chapter%
|titlematch = EoS Chapter%
|notitlematch = ToP Chapter%
|notitlematch = ToP Chapter%|WoG Chapter%|CMU Chapter%|SoM Chapter%|SiD Chapter%|BPB Chapter%|WSL Chapter%
|ordermethod = title
|ordermethod = title
|resultsheader = === Eve of Snows (EoS) ===\n
|format = ,* [[%PAGE%]]\n,
|format = ,* [[%PAGE%]]\n,
|noresultsheader = No EoS chapters found.\n
|noresultsheader =
}}
}}\
 
=== ToP Chapters ===
{{#dpl:
{{#dpl:
|category = {{PAGENAME}}
|category = {{PAGENAME}}
|namespace = 0
|namespace = 0
|titlematch = ToP Chapter%
|titlematch = ToP Chapter%
|notitlematch = EoS Chapter%
|notitlematch = EoS Chapter%|WoG Chapter%|CMU Chapter%|SoM Chapter%|SiD Chapter%|BPB Chapter%|WSL Chapter%
|ordermethod = title
|ordermethod = title
|resultsheader = === Trail of Pyres (ToP) ===\n
|format = ,* [[%PAGE%]]\n,
|format = ,* [[%PAGE%]]\n,
|noresultsheader = No ToP chapters found.\n
|noresultsheader =
}}\
 
}}
}}
|{{{Appearances|None}}}}
</div>
</div>


== Mentions ==
== Mentions ==
{{#ifexist:Category:{{PAGENAME}} Mention|
<div class="mw-collapsible mw-collapsed" data-expandtext="[Show]" data-collapsetext="[Hide]" style="margin-bottom: 20px;">
=== EoS Chapters ===
<div class="mentions">
{{#dpl:
|category = {{PAGENAME}} Mention
|namespace = 0
|titlematch = EoS Chapter%
|notitlematch = ToP Chapter%
|ordermethod = title
|format = ,* [[%PAGE%]]\n,
|noresultsheader = No EoS chapters found.\n
}}
 
=== ToP Chapters ===
{{#dpl:
{{#dpl:
|category = {{PAGENAME}} Mention
|category = {{PAGENAME}} Mention
|namespace = 0
|namespace = 0
|titlematch = ToP Chapter%
|notitlematch = EoS Chapter%
|ordermethod = title
|ordermethod = title
|format = ,* [[%PAGE%]]\n,
|format = ,* [[%PAGE%]]\n,
|noresultsheader = No ToP chapters found.\n
|noresultsheader = <small>(No mentions yet)</small>
}}
}}
|{{{Mentions|None}}}}
</div>
 
</div>
[[Category:Characters]]
</includeonly>
 
 
{{#ifexist:Category:{{PAGENAME}}|
<DynamicPageList>
category = {{PAGENAME}}
namespace = 0
ordermethod = title
</DynamicPageList>
|{{{Appearances|None}}}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Mentions
| style="color:#000000;" |
{{#ifexist:Category:{{PAGENAME}} Mention|
<DynamicPageList>
category = {{PAGENAME}} Mention
namespace = 0
ordermethod = title
</DynamicPageList>
|{{{Mentions|None}}}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | First Appearance
| style="color:#000000;" | {{{First_appearance|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Last Appearance
| style="color:#000000;" | {{{Last_appearance|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Culture
| style="color:#000000;" | {{{Culture|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Occupation
| style="color:#000000;" | {{{Occupation|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Titles
| style="color:#000000;" | {{{Titles|None}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Family
| style="color:#000000;" | {{{Family|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Spouse
| style="color:#000000;" | {{{Spouse|None}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Children
| style="color:#000000;" | {{{Children|None}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Parents
| style="color:#000000;" | {{{Parents|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Siblings
| style="color:#000000;" | {{{Siblings|None}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Relatives
| style="color:#000000;" | {{{Relatives|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Physical Description
| style="color:#000000;" | {{{Physical_description|Unknown}}}
|-
! style="background-color:#F5F5F5; color:#000000;" | Notes
| style="color:#000000;" | {{{Notes|None}}}
|}
[[Category:Characters]]
</includeonly>

Latest revision as of 23:59, 7 April 2026

This is the Character template for Sundering the Gods characters. It displays character details in an infobox and lists chapters where the character appears or is mentioned using Dynamic Page List (DPL) queries. If DPL is unavailable, the Appearances and Mentions fields can be manually populated with chapter names.

Usage

Fill in the fields as appropriate. For DPL to work, ensure chapter pages are tagged with [[Category:CharacterName]] for Appearances and [[Category:CharacterName Mention]] for Mentions. If DPL is not installed, use the Appearances and Mentions fields to manually list chapters.

New: Video parameter – For short native videos you upload yourself (recommended: .webm or .mp4 files, keep under 20 MB).

Example: |Video=

Book-specific spoiler sections can be added using the book parameters (e.g., |eve_of_snows=, |trail_of_pyres=). Only books with content will be displayed.

Example:

{{Character
|Title=Tokodin
|Full_name=Tokodin of Istinjoln
|Gender=Male
|Born=Unknown
|Died=Unknown
|Alias=None
|Affiliation=Istinjoln Monastery
|Religion=Sol
|Culture=Silone
|Spouse=None
|Children=None
|Parents=Unknown
|Siblings=None
|Other_Relatives=Unknown
|Notes=None
|Image=Tokodin.png
|Image_size=250px
|Image_caption=Tokodin, monk of Istinjoln
|Video=[[File:Tokodin_clip.mp4|240px|center]]
|Introduction=
|History=
|Personality=Unknown
|Physical_description=Unknown
|Relationships=
|Legacy=
|eve_of_snows=
|trail_of_pyres=
|whispers_of_ghosts=
|shadows_of_man=
|silhouettes_in_doom=
}}