Actions

Template

Character Guide Test: Difference between revisions

From Betamountain.org

mNo edit summary
mNo edit summary
Line 5: Line 5:
|- class="{{if|test={{{photo|}}}|else=hiddenStructure}}"
|- class="{{if|test={{{photo|}}}|else=hiddenStructure}}"
| colspan="2" style="padding: 1em 0; text-align: center;" | <center>[[Image:{{{photo}}}|thumb|center|240px|{{{1}}}]]</center>
| colspan="2" style="padding: 1em 0; text-align: center;" | <center>[[Image:{{{photo}}}|thumb|center|240px|{{{1}}}]]</center>
|-
{{#if: {{{name|}}} |{{#!:||}}|}}
{{#if: {{{name|}}} |<b>Name:</b>|}}
{{#if: {{{name|}}} |{{#!:||}}|}}
{{#if: {{{name|}}} |{{{name}}}|}}
{{#if: {{{name|}}} |{{#!:|||-}}|}}
{{#if: {{{alias|}}} |{{#!:||}}|}}
{{#if: {{{alias|}}} |<b>Alias:</b>|}}
{{#if: {{{alias|}}} |{{#!:||}}|}}
{{#if: {{{alias|}}} |{{{alias}}}|}}
{{#if: {{{alias|}}} |{{#!:|||-}}|}}
|-
|-
{{#if: {{{name|}}}
{{#if: {{{name|}}}
| {{#!:
| {{#!:
| <b>Name</b> || {{name}}
| <b>Name</b> || {{{name}}}
|-
|-
}}
}}
Line 25: Line 14:
{{#if: {{{alias|}}}
{{#if: {{{alias|}}}
| {{#!:
| {{#!:
| <b>Alias</b> || {{alias}}
| <b>Alias</b> || {{{alias}}}
|-
|-
}}
}}
Line 31: Line 20:
{{#if: {{{species|}}}
{{#if: {{{species|}}}
| {{#!:
| {{#!:
| <b>Species</b> || {{species}}
| <b>Species</b> || {{{species}}}
|-
|-
}}
}}
}}
}}
|-
|-
|{{#if: {{{species|}}} | <b>Species:</b> {{#!:||}} {{{species}}}{{#!:||-}}| }}
|{{#if: {{{species|}}} | <b>Species:</b> {{#!:||}} {{{species}}}{{#!:||-}}| }}

Revision as of 12:07, 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.