Template:CharacterBox: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><div class="page-container">
<noinclude>
Module for displaying information about characters.
Module for displaying information about characters.


'''Usage:'''
'''Usage:'''


<syntaxhighlight lang="html+handlebars">{{CharacterBox|image=|name=|blurb=}}</syntaxhighlight>
<syntaxhighlight lang="html+handlebars">{{subst:CharacterBox|image=|name=|blurb=|item1=|item2=|item3=|item4=}}</syntaxhighlight>
</div></noinclude><div class="contributor-container">
</noinclude><div class="character-container">
<div class="character-img">
<div class="character-img">
[[File:{{{image}}}]]
[[File:{{{image}}}]]
</div>
</div>
<div class="character-name">
<div class="character-name">
== {{{name}}} ==
==== {{{name}}} ====
</div>
</div>
<div class="character-blurb">
<div class="character-blurb">
{{{blurb}}}
{{{blurb}}}
</div>
</div>
<div class="character-links" style="display:none">
        <div class="character-links">
<div class="character-item">
<div class="character-item">
{{{item1}}}
[[{{{item1}}}]]
</div>
</div>
<div class="character-item">
<div class="character-item">
{{{item2}}}
[[{{{item2}}}]]
</div>
</div>
<div class="character-item">
<div class="character-item">
{{{item3}}}
[[{{{item3}}}]]
</div>
</div>
</div>
<div class="character-item">
[[{{{item4}}}]]
                </div>
        </div>
</div>
</div>

Latest revision as of 18:12, 21 November 2020

Module for displaying information about characters.

Usage:

{{subst:CharacterBox|image=|name=|blurb=|item1=|item2=|item3=|item4=}}

[[File:{{{image}}}]]

{{{name}}}

{{{blurb}}}