Character Guide Test: Difference between revisions
From Betamountain.org
mNo edit summary |
mNo edit summary |
||
| Line 8: | Line 8: | ||
|{{#if: {{{name|}}} | <b>Name:</b> {{#!:||}} {{{name}}}| }} | |{{#if: {{{name|}}} | <b>Name:</b> {{#!:||}} {{{name}}}| }} | ||
|- | |- | ||
|{{#if: {{{name|}}} | <b>Name:</b> {{#!:||}} {{{name}}} | |{{#if: {{{name|}}} | <b>Name:</b> {{#!:||}} {{{name}}}{{#!:||-}}| }} | ||
|{{#if: {{{alias|}}} | <b>Alias:</b> {{#!:||}} {{{alias}}} | |{{#if: {{{alias|}}} | <b>Alias:</b> {{#!:||}} {{{alias}}}{{#!:||-}}| }} | ||
|{{#if: {{{species|}}} | <b>Species:</b> {{#!:||}} {{{species}}} | |{{#if: {{{species|}}} | <b>Species:</b> {{#!:||}} {{{species}}}{{#!:||-}}| }} | ||
|- style="vertical-align: top; text-align: left;" class="{{if|test={{{name|}}}|else=hiddenStructure}}" | |- style="vertical-align: top; text-align: left;" class="{{if|test={{{name|}}}|else=hiddenStructure}}" | ||
| '''Name''' | | '''Name''' | ||
Revision as of 11:50, 11 March 2018
Example Code
{{Character Guide
|title=
|photo=
|name=
|alias=
|species=
|age=
|status=
|education=
|appearance=
|ability=
|origin=
|death=
|parents=
|relatives=
|children=
|marital status=
}}
Usage
The "title" option should be for displaying the same text as the article's title; "name" should list the full name of the character.
The "photo" option is to be used in the following way: just add the file name of the uploaded picture, a pipe (|) and the picture caption. For example: ZachJr.jpg|Zach Foxx Jr. The rest is done automagically.