- This wiki is very much under construction. The original wiki was set to be shut down and the wiki was largely mirrored to a Fandom-based version, though most of the reference images had not yet been copied over. This migration was put on hold when it appeared the original wiki could in fact be retained, however the old wiki was lost in its entirety when the server was among the many taken down by a massive series of cyberattacks on data centers during early February, 2023. It is now being rebuilt with the launch of Hel. Sorry if it's a little messy right now!
Mascot Ariel Kid.png

File:Orthorbbae Default Image.png and Template:CharacterCard: Difference between pages

From Drowtales
(Difference between pages)
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
Line 1: Line 1:
<noInclude>[[Category:Summary Tools]]''This template creates a reference card of a character. If no custom description is provided, the featured part of the character page is used for description.''


'''''Warning: the character card is a floating element and not to be used directly (doing so could mess with the page layout); instead, use [[Template:CharacterList]]'''''
Usage:
<nowiki>{{CharacterCard | <character name> | <description> (optional) | portrait=<custom portrait suffix> (optional)}}</nowiki>
</noInclude>
<includeOnly><table style="background:none; border:none; float:left; margin:5px">
<tr>
{{#vardefine:portrait_suffix|{{#if:{{{portrait|}}}|_{{{portrait}}}|}}}}
<td valign="top" style="height:112px">
{{#ifexist: File:Portrait_{{{1}}}{{#var:portrait_suffix}}.png
  | [[File:Portrait_{{{1}}}{{#var:portrait_suffix}}.png|link=File:Portrait_{{{1}}}{{#var:portrait_suffix}}.png|89px]]
  | [[File:Portrait_Default.png|link=File:Portrait_{{{1}}}{{#var:portrait_suffix}}.png|89px|({{{1}}}{{#var:portrait_suffix}}.png not found, click to upload)]]
}}</td>
<td valign="top" style="width:300px">
<div class="blockheader">[[{{{1}}}]]</div>
<div style="padding-left:5px">{{#if: {{{2|}}}|{{{2|}}}|{{#ifexist: {{{1}}}|{{#lst:{{{1}}}|feature}} }} }}</div>
</td>
</tr>
</table></includeOnly>

Revision as of 01:23, 21 May 2023

This template creates a reference card of a character. If no custom description is provided, the featured part of the character page is used for description.

Warning: the character card is a floating element and not to be used directly (doing so could mess with the page layout); instead, use Template:CharacterList

Usage:
{{CharacterCard | <character name> | <description> (optional) | portrait=<custom portrait suffix> (optional)}}


File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current23:59, 27 May 2023Thumbnail for version as of 23:59, 27 May 2023356 × 356 (73 KB)Thrair (talk | contribs)

Metadata