Difference between revisions of "Template:Character"
(145 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>This is the "Character" template. |
− | This is the "Character" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
− | <pre> | + | <pre>{{Character |
− | {{Character | + | |
− | + | |Character Image= | |
− | | | + | |Title Font= |
− | |||
− | | | ||
|Full Name= | |Full Name= | ||
+ | |Codename= | ||
|Age= | |Age= | ||
− | | | + | |Origin= |
+ | |Type= | ||
+ | |Legal Status= | ||
+ | |City= | ||
+ | |Affiliation= | ||
|Occupation= | |Occupation= | ||
− | |||
− | |||
− | |||
|Actor= | |Actor= | ||
− | | | + | |Background= |
− | | | + | |Personality= |
− | | | + | |Powers= |
− | | | + | |Advantages= |
− | + | |Disadvantages= | |
− | + | |Fun Fact= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | }}</pre> | ||
+ | Edit the page to see the template text.</noinclude><includeonly>__NOTOC__{{DISPLAYTITLE:<span style="position: absolute; clip: rect(0px 0px 0px 0px); clip: rect(0px, 0px, 0px, 0px);">{{FULLPAGENAME}}</span>}}<div class=title{{{Title Font|}}}><center>{{PAGENAME}}</center></div> | ||
{{#invoke: Sidebar | sidebar | {{#invoke: Sidebar | sidebar | ||
− | | topimage = {{#switch: {{#len:{{{Character Image|}}} }} | 0 = | [[File:{{{Character Image|}}}| | + | | topimage = {{#switch: {{#len:{{{Character Image|}}} }} | 0 = | [[File:{{{Character Image|}}}|border|175x225px|Alt=file not found|{{PAGENAME}}]] }} |
− | + | | class = sidebar | |
− | | class = | + | | style = |
− | | style = | ||
| name = {{PAGENAME}} | | name = {{PAGENAME}} | ||
− | + | | headingstyle = sidebar-headings | |
− | |||
− | | headingstyle = | ||
| contentstyle = | | contentstyle = | ||
− | | above = | + | | above = Statistics |
+ | | aboveclass = sidebar-title | ||
+ | |||
+ | | headingclass = sidebar-headings | ||
+ | | heading1style = sidebar-heading1 | ||
| heading1 = {{#switch: {{#len:{{{Full Name|}}} }} | 0 = | Full Name }} | | heading1 = {{#switch: {{#len:{{{Full Name|}}} }} | 0 = | Full Name }} | ||
| content1 = {{{Full Name|}}} | | content1 = {{{Full Name|}}} | ||
− | | heading2 = {{#switch: {{#len:{{{ | + | | heading2 = {{#switch: {{#len:{{{Codename|}}} }} | 0 = | Codename }} |
− | | content2 = {{{ | + | | content2 = {{{Codename|}}} |
− | | heading3 = {{#switch: {{#len:{{{ | + | | heading3 = {{#switch: {{#len:{{{Age|}}} }} | 0 = | Age }} |
− | | content3 = | + | | content3 = {{{Age|}}} |
− | | heading4 = {{#switch: {{#len:{{{ | + | | heading4 = {{#switch: {{#len:{{{Origin|}}} }} | 0 = | Origin }} |
− | | content4 = {{{ | + | | content4 = {{{Origin|}}} |
− | | heading5 = {{#switch: {{#len:{{{ | + | | heading5 = {{#switch: {{#len:{{{Type|}}} }} | 0 = | Type }} |
− | | content5 = | + | | content5 = [[Type::{{{Type|}}}]] |
− | | heading6 = {{#switch: {{#len:{{{ | + | | heading6 = {{#switch: {{#len:{{{Legal Status|}}} }} | 0 = | Legal Status }} |
− | | content6 = [[ | + | | content6 = [[Legal Status::{{{Legal Status|}}}]] |
− | | heading7 = {{#switch: {{#len:{{{ | + | | heading7 = {{#switch: {{#len:{{{City|}}} }} | 0 = | City }} |
− | | content7 = [[ | + | | content7 = [[City::{{{City|}}}]] |
− | | heading8 = {{#switch: {{#len:{{{ | + | | heading8 = {{#switch: {{#len:{{{Affiliation|}}} }} | 0 = | Affiliation }} |
− | | content8 = | + | | content8 = {{#switch:{{#len:{{{Affiliation|}}}}} | 0 = }} {{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x]]}} |
− | | heading9 = | + | | heading9 = {{#switch: {{#len:{{{Occupation|}}} }} | 0 = | Occupation }} |
− | | content9 = | + | | content9 = {{{Occupation|}}} |
| heading10 = {{#switch: {{#len:{{{Actor|}}} }} | 0 = | Actor }} | | heading10 = {{#switch: {{#len:{{{Actor|}}} }} | 0 = | Actor }} | ||
| content10 = [[Actor::{{{Actor|}}}]] | | content10 = [[Actor::{{{Actor|}}}]] | ||
− | |||
| navbar = off | | navbar = off | ||
Line 82: | Line 73: | ||
}} | }} | ||
− | {{# | + | {{#tag: tabber| |
− | {{{ | + | {{#if: {{#ask: [[Featuring::{{PAGENAME}}]] [[Year::{{CURRENTYEAR}}]] [[Month::{{CURRENTMONTH}}]] [[FlashBack::false]] }} | Current Month's Logs={{#ask: [[Featuring::{{PAGENAME}}]] [[Year::{{CURRENTYEAR}}]] [[Month::{{CURRENTMONTH}}]] [[FlashBack::false]] | format{{=}}ul | class{{=}}rplogs | sort=FullDate, LogTitle}} | }} |
− | + | {{!}}-{{!}} | |
− | {{# | + | {{#if: {{#ask: [[Featuring::{{PAGENAME}}]] [[Year::{{CURRENTYEAR}}]] [[Month::<<{{CURRENTMONTH}}]] [[FlashBack::false]] }} | Previous Month's Logs={{#ask: [[Featuring::{{PAGENAME}}]] [[Year::{{CURRENTYEAR}}]] [[Month::<<{{CURRENTMONTH}}]] [[FlashBack::false]] | format{{=}}ul | class{{=}}rplogs | sort=FullDate, LogTitle}} | }} |
− | {{{ | + | {{!}}-{{!}} |
− | + | {{#if: {{#ask: [[Featuring::{{PAGENAME}}]] [[Year::<<{{CURRENTYEAR}}]] [[FlashBack::false]] }} | Logs From Previous Years={{#ask:[[Featuring::{{PAGENAME}}]] [[Year::<<{{CURRENTYEAR}}]] [[FlashBack::false]] | format{{=}}ul | class{{=}}rplogs | sort=FullDate, LogTitle}} | }} | |
− | {{# | + | {{!}}-{{!}} |
− | {{{ | + | {{#if: {{#ask: [[Featuring::{{PAGENAME}}]] [[FlashBack::true]] }} | Flashback Logs={{#ask: [[Featuring::{{PAGENAME}}]] [[FlashBack::true]] | format{{=}}ul | class{{=}}rplogs | sort=FullDate, LogTitle}} | }} |
− | + | }} | |
− | {{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {| | + | {{#tag: tabber| |
− | | | + | {{#if: {{{Background|}}} | Background{{=}}<p></p>{{{Background|}}} | }} |
− | ! | + | {{!}}-{{!}} |
− | + | {{#if: {{{Personality|}}} | Personality{{=}}<p></p>{{{Personality|}}} | }} | |
− | + | {{!}}-{{!}} | |
− | + | {{#if: {{{Powers|}}} | Powers{{=}}<p></p>{{{Powers|}}} | }} | |
− | | | + | {{!}}-{{!}} |
− | | | + | {{#if: {{{Advantages|}}} | Advantages{{=}}<p></p>{{{Advantages|}}} | }} |
− | | | + | {{!}}-{{!}} |
− | | | + | {{#if: {{{Disadvantages|}}} | Disadvantages{{=}}<p></p>{{{Disadvantages|}}} | }} |
− | + | }} | |
− | |}} | + | <br> |
− | |} | ||
− | |||
− | < | ||
− | {| | ||
− | | | ||
− | ! | ||
− | |||
− | | | ||
− | + | <div class=factoid-header>{{#switch: {{#len:{{{Fun Fact|}}} }} | 0 = | '''Fun Fact''': }}</div><br><div class=factoid>{{{Fun Fact|}}}</div> | |
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |}} | ||
− | |||
− | </ | ||
Latest revision as of 17:23, 25 April 2020
This is the "Character" template. It should be called in the following format:
{{Character |Character Image= |Title Font= |Full Name= |Codename= |Age= |Origin= |Type= |Legal Status= |City= |Affiliation= |Occupation= |Actor= |Background= |Personality= |Powers= |Advantages= |Disadvantages= |Fun Fact= }}
Edit the page to see the template text.