Actions

Template

Character Guide Test: Difference between revisions

From Betamountain.org

mNo edit summary
mNo edit summary
Line 6: Line 6:
| 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|}}} | <b>Name:</b> {{{name}}}| }}
|{{#if: {{{name|}}} | <b>1Name:</b> {{{name}}}| }}
|-
|-
|{{#if: {{{name|}}} | <b>Name:</b> {{#!:|}}{{{name}}}| }}
|{{#if: {{{name|}}} | <b>2Name:</b> {{#!:|}} 2 {{{name}}}| }}
|-
|-
|{{#if: {{{name|}}} | <b>Name:</b> {{{name}}}| }}
|{{#if: {{{name|}}} | <b>3Name:</b> {{{name}}}| }}
{{#if: {{{alias|}}} | <p style="text-align:justify"><b>Alias:</b> {{{alias}}}<br></p> | }}
{{#if: {{{alias|}}} | <p style="text-align:justify"><b>Alias:</b> {{{alias}}}<br></p> | }}
|- 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}}"

Revision as of 11:46, 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.