Template:Character: Difference between revisions
No edit summary Tag: Reverted |
|||
| (119 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | |||
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 <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: | |||
<pre> | |||
{{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= | |||
}} | |||
</pre> | |||
</noinclude> | |||
<includeonly> | |||
{| 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;" | | 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="color:#000000;" | {{{Full_name|{{{Title|{{PAGENAME}}}}}}}} | |||
|- | |||
! style="background-color:#F5F5F5; color:#000000;" | Gender | |||
| style="color:#000000;" | {{{Gender|Unknown}}} | |||
|- | |- | ||
! style="background-color:#F5F5F5; color:#000000;" | Born | ! style="background-color:#F5F5F5; color:#000000;" | Born | ||
| Line 9: | Line 71: | ||
|- | |- | ||
! style="background-color:#F5F5F5; color:#000000;" | Died | ! style="background-color:#F5F5F5; color:#000000;" | Died | ||
| style="color:#000000;" | {{{Died| | | style="color:#000000;" | {{{Died|Unknown}}} | ||
|- | |- | ||
! style="background-color:#F5F5F5; color:#000000;" | Alias | ! style="background-color:#F5F5F5; color:#000000;" | Alias | ||
| Line 16: | Line 78: | ||
! style="background-color:#F5F5F5; color:#000000;" | Affiliation | ! style="background-color:#F5F5F5; color:#000000;" | Affiliation | ||
| style="color:#000000;" | {{{Affiliation|None}}} | | style="color:#000000;" | {{{Affiliation|None}}} | ||
|- | |- | ||
! style="background-color:#F5F5F5; color:#000000;" | Religion | ! style="background-color:#F5F5F5; color:#000000;" | Religion | ||
| style="color:#000000;" | {{{Religion|Unknown}}} | | style="color:#000000;" | {{{Religion|Unknown}}} | ||
|- | |- | ||
! style="background-color:#F5F5F5; color:#000000;" | Culture | ! style="background-color:#F5F5F5; color:#000000;" | Culture | ||
| style="color:#000000;" | {{{Culture|Unknown}}} | | style="color:#000000;" | {{{Culture|Unknown}}} | ||
|- | |- | ||
! style="background-color:#F5F5F5; color:#000000;" | Spouse | ! style="background-color:#F5F5F5; color:#000000;" | Spouse | ||
| Line 68: | Line 97: | ||
| style="color:#000000;" | {{{Siblings|None}}} | | style="color:#000000;" | {{{Siblings|None}}} | ||
|- | |- | ||
! style="background-color:#F5F5F5; color:#000000;" | Relatives | ! style="background-color:#F5F5F5; color:#000000;" | Other Relatives | ||
| style="color:#000000;" | {{{ | | style="color:#000000;" | {{{Other_relatives|Unknown}}} | ||
|- | |- | ||
! style="background-color:#F5F5F5; color:#000000;" | Notes | ! style="background-color:#F5F5F5; color:#000000;" | Notes | ||
| style="color:#000000;" | {{{Notes|None}}} | | 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}}| | |||
{{#dpl: | |||
|category = {{PAGENAME}} | |||
|namespace = 0 | |||
|titlematch = EoS Chapter% | |||
|notitlematch = ToP Chapter%|WoG Chapter%|CMU Chapter%|SoM Chapter%|SiD Chapter%|BPB Chapter%|WSL Chapter% | |||
|ordermethod = title | |||
|resultsheader = === Eve of Snows (EoS) ===\n | |||
|format = ,* [[%PAGE%]]\n, | |||
|noresultsheader = | |||
}}\ | |||
{{#dpl: | |||
|category = {{PAGENAME}} | |||
|namespace = 0 | |||
|titlematch = ToP Chapter% | |||
|notitlematch = EoS Chapter%|WoG Chapter%|CMU Chapter%|SoM Chapter%|SiD Chapter%|BPB Chapter%|WSL Chapter% | |||
|ordermethod = title | |||
|resultsheader = === Trail of Pyres (ToP) ===\n | |||
|format = ,* [[%PAGE%]]\n, | |||
|noresultsheader = | |||
}}\ | |||
}} | |||
</div> | |||
</div> | |||
== Mentions == | |||
<div class="mw-collapsible mw-collapsed" data-expandtext="[Show]" data-collapsetext="[Hide]" style="margin-bottom: 20px;"> | |||
<div class="mentions"> | |||
{{#dpl: | |||
|category = {{PAGENAME}} Mention | |||
|namespace = 0 | |||
|ordermethod = title | |||
|format = ,* [[%PAGE%]]\n, | |||
|noresultsheader = <small>(No mentions yet)</small> | |||
}} | |||
</div> | |||
</div> | |||
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=
}}