Character Guide Test: Difference between revisions
From Betamountain.org
mNo edit summary |
mNo edit summary |
||
(45 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| colspan="2" style="text-align: center; font-size: larger; font-weight: bold; color: #FFFFFF; background-color: #282728" | '''{{{title|{{PAGENAME}}}}}''' | | colspan="2" style="text-align: center; font-size: larger; font-weight: bold; color: #FFFFFF; background-color: #282728" | '''{{{title|{{PAGENAME}}}}}''' | ||
|- class="{{if|test={{{photo|}}}|else=hiddenStructure}}" | |- class="{{if|test={{{photo|}}}|else=hiddenStructure}}" | ||
| colspan="2" style="padding: 1em 0; text-align: center;" | <center>[[Image:{{{photo}}}|{{{1}}}]]</center> | | colspan="2" style="padding: 1em 0; text-align: center;" | <center>[[Image:{{{photo}}}|thumb|center|240px|{{{1}}}]]</center> | ||
|- | |- | ||
| | {{#if: {{{name|}}} | ||
| {{{name}}} | | {{#!: | ||
|- | | <b>Name</b> || {{{name}}} | ||
| | |- | ||
| {{{alias}}} | }} | ||
|- | }} | ||
| | {{#if: {{{alias|}}} | ||
| {{{species}}} | | {{#!: | ||
|- | | <b>Alias</b> || {{{alias}}} | ||
| | |- | ||
| {{{age}}} | }} | ||
|- | }} | ||
| | {{#if: {{{species|}}} | ||
| {{{status}}} | | {{#!: | ||
|- | | <b>Species</b> || {{{species}}} | ||
| | |- | ||
| {{{ | }} | ||
|- | }} | ||
| | {{#if: {{{age|}}} | ||
| {{{ability}}} | | {{#!: | ||
|- | | <b>Age</b> || {{{age}}} | ||
| | |- | ||
| {{{origin}}} | }} | ||
|- | }} | ||
| | {{#if: {{{status|}}} | ||
| {{{death}}} | | {{#!: | ||
|- | | <b>Status</b> || {{{status}}} | ||
| | |- | ||
| {{{parents}}} | }} | ||
|- | }} | ||
| | {{#if: {{{education|}}} | ||
| {{{relatives}}} | | {{#!: | ||
|- | | <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.