Difference between revisions of "Template:TongNouCharacterInfobox"
Jump to navigation
Jump to search
m |
Camwoodstock (talk | contribs) |
||
Line 1: | Line 1: | ||
{| align=right width="250px" style="border: 2px solid #888; background: #BFBFBF; font-size:12px; -moz-border-radius:7px; margin-top: 0px; margin-left:3px; margin-bottom:3px; float: right;" | {| align=right width="250px" style="border: 2px solid #888; background: #BFBFBF; font-size:12px; -moz-border-radius:7px; margin-top: 0px; margin-left:3px; margin-bottom:3px; float: right;" | ||
− | !bgcolor="# | + | !bgcolor="#00A" colspan="2"|<font color="#FFF">'''{{{name}}}'''</font> |
|- | |- | ||
− | |bgcolor="# | + | |bgcolor="#000" colspan="2" style="padding:3px;"|[[{{{image}}}|{{{width}}}px|center]] |
|- | |- | ||
− | |bgcolor="#F2F2F2" width="75px"|''' | + | |bgcolor="#F2F2F2" width="75px"|'''Land''' |
|bgcolor="#F9F9F9"|{{{land}}} | |bgcolor="#F9F9F9"|{{{land}}} | ||
|- | |- | ||
− | |bgcolor="#F2F2F2"|''' | + | |bgcolor="#F2F2F2" width="75px"|'''Location''' |
− | |bgcolor="#F9F9F9"|{{{ | + | |bgcolor="#F9F9F9"|{{{location}}} |
+ | |- | ||
+ | |bgcolor="#F2F2F2"|'''Role''' | ||
+ | |bgcolor="#F9F9F9"|{{{role}}} | ||
+ | |} | ||
+ | |||
+ | <noinclude> | ||
+ | |||
+ | ==Use== | ||
+ | This infobox is for use on pages related to characters in Eastern Mind and Chu-Teng, containing various pieces of preliminary information about them. It makes use of various parameters to change its content on the fly: | ||
+ | *'''name:''' The name of the character in English. | ||
+ | *'''image:''' An image of the character. It comes pre-formatted as being centered. | ||
+ | *'''width:''' A custom parameter for image width. Should be an integer (e.g. do not include "px" after it). | ||
+ | *'''land:''' The associated land of the character as described in the [[Tong-Nou Illustrated Book]] or [[Chu-Teng Tablet]]. | ||
+ | *'''location:''' Further elaboration of their location (e.g. listing the sub-area, or exactly what room they're at.) If a character appears in multiple locations that are ''not'' their designated locale, you may list them here. | ||
+ | *'''role:''' The role or otherwise affiliation of that character (King, Reincarnation, Creature, Darkness, etc.) | ||
+ | |||
+ | ==Sample== | ||
+ | {{TongNouCharacterInfobox | ||
+ | |name=Moku-gyou | ||
+ | |image=File:MokuGyou.png | ||
+ | |width=177 | ||
+ | |land=[[Ming-ken]] | ||
+ | |location=[[Mingke-shu]]<br>[[Par-fang]] (statue) | ||
+ | |role=King | ||
+ | }} | ||
+ | |||
+ | The code beneath produces the infobox you see to the right. | ||
+ | |||
+ | {| class="wikitable" style="text-align: left; color: green;" | ||
+ | |'''Sample Code:''' | ||
+ | |- | ||
+ | |<pre style="background-color: inherit; border: none; color: inherit; padding: inherit">{{TongNouCharacterInfobox | ||
+ | |name=Moku-gyou | ||
+ | |image=File:MokuGyou.png | ||
+ | |width=177 | ||
+ | |land=[[Ming-ken]] | ||
+ | |location=[[Mingke-shu]]<br>[[Par-fang]] (statue) | ||
+ | |role=King | ||
+ | }}</pre> | ||
+ | |} | ||
+ | |||
+ | The blank code can be seen beneath. | ||
+ | {| class="wikitable" style="text-align: left; color: green;" | ||
+ | |'''Sample Code:''' | ||
+ | |- | ||
+ | |<pre style="background-color: inherit; border: none; color: inherit; padding: inherit">{{TongNouCharacterInfobox | ||
+ | |name= | ||
+ | |image= | ||
+ | |width= | ||
+ | |land= | ||
+ | |location= | ||
+ | |role= | ||
+ | }}</pre> | ||
|} | |} | ||
+ | |||
+ | [[Category:Templates]][[Category:Infoboxes]] | ||
+ | </noinclude> |
Latest revision as of 16:10, 6 November 2022
{{{name}}} | |
---|---|
[[{{{image}}}|{{{width}}}px|center]] | |
Land | {{{land}}} |
Location | {{{location}}} |
Role | {{{role}}} |
Use
This infobox is for use on pages related to characters in Eastern Mind and Chu-Teng, containing various pieces of preliminary information about them. It makes use of various parameters to change its content on the fly:
- name: The name of the character in English.
- image: An image of the character. It comes pre-formatted as being centered.
- width: A custom parameter for image width. Should be an integer (e.g. do not include "px" after it).
- land: The associated land of the character as described in the Tong-Nou Illustrated Book or Chu-Teng Tablet.
- location: Further elaboration of their location (e.g. listing the sub-area, or exactly what room they're at.) If a character appears in multiple locations that are not their designated locale, you may list them here.
- role: The role or otherwise affiliation of that character (King, Reincarnation, Creature, Darkness, etc.)
Sample
Moku-gyou | |
---|---|
Land | Ming-ken |
Location | Mingke-shu Par-fang (statue) |
Role | King |
The code beneath produces the infobox you see to the right.
Sample Code: |
{{TongNouCharacterInfobox |name=Moku-gyou |image=File:MokuGyou.png |width=177 |land=[[Ming-ken]] |location=[[Mingke-shu]]<br>[[Par-fang]] (statue) |role=King }} |
The blank code can be seen beneath.
Sample Code: |
{{TongNouCharacterInfobox |name= |image= |width= |land= |location= |role= }} |