Character Guide Test: Difference between revisions
From Betamountain.org
mNo edit summary |
mNo edit summary |
||
(41 intermediate revisions by the same user not shown) | |||
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: {{{test| | {{#if: {{{name|}}} | ||
| {{#!: | |||
| <b>Name</b> || {{{name}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{alias|}}} | |||
| {{#!: | |||
| <b>Alias</b> || {{{alias}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{species|}}} | |||
| {{#!: | |||
| <b>Species</b> || {{{species}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{age|}}} | |||
| {{#!: | |||
| <b>Age</b> || {{{age}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{status|}}} | |||
| {{#!: | |||
| <b>Status</b> || {{{status}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{education|}}} | |||
| {{#!: | |||
| <b>Education</b> || {{{education}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{appearance|}}} | |||
| {{#!: | |||
| <b>Appearance</b> || {{{appearance}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{ability|}}} | |||
| {{#!: | |||
| <b>Ability</b> || {{{ability}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{origin|}}} | |||
| {{#!: | |||
| <b>Origin</b> || {{{origin}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{death|}}} | |||
| {{#!: | |||
| <b>Death</b> || {{{death}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{parents|}}} | |||
| {{#!: | |||
| <b>Parents</b> || {{{parents}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{relatives|}}} | |||
| {{#!: | |||
| <b>Relatives</b> || {{{relatives}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{children|}}} | |||
| {{#!: | |||
| <b>Children</b> || {{{children}}} | |||
|- | |||
}} | |||
}} | |||
{{#if: {{{marital status|}}} | |||
| {{#!: | |||
| <b>Marital Status</b> || {{{marital status}}} | |||
|- | |||
}} | |||
}} | |||
|- | |||
|{{#if: {{{test2|}}} | <b>Test2:</b> {{{test}}}<br> | Parameter 1 is not defined, or is defined but null. It contains only empty string(s) or breaking space(s) etc.}} | |||
|- | |||
|{{#if: {{{test|}}} | <b>Test:</b> {{{test}}}<br> | Parameter 1 is not defined, or is defined but null. It contains only empty string(s) or breaking space(s) etc.}} | |||
|- | |- | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> |
Latest revision as of 12:10, 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.