Difference between revisions of "Template:Character"

From AIMux
Jump to: navigation, search
(Created page with "<noinclude> This is the "Character" template. It should be called in the following format: <pre> {{Character |Background= |Advantages= |Disadvantages= |Personality= |Full Name...")
 
 
(206 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
+
 
|Background=
+
|Character Image=
|Advantages=
+
|Title Font=
|Disadvantages=
 
|Personality=
 
 
|Full Name=
 
|Full Name=
 +
|Codename=
 
|Age=
 
|Age=
|Gender=
+
|Origin=
 +
|Type=
 +
|Legal Status=
 +
|City=
 +
|Affiliation=
 
|Occupation=
 
|Occupation=
|Affiliation=
 
|Character Image=
 
|Title Image=
 
 
|Actor=
 
|Actor=
}}
+
|Background=
</pre>
+
|Personality=
Edit the page to see the template text.
+
|Powers=
</noinclude><includeonly>
+
|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
 +
 
 +
| topimage = {{#switch: {{#len:{{{Character Image|}}} }} | 0 = | [[File:{{{Character Image|}}}|border|175x225px|Alt=file not found|{{PAGENAME}}]] }}
 +
| class = sidebar
 +
| style =
 +
| name = {{PAGENAME}}
 +
| headingstyle = sidebar-headings
 +
| contentstyle =
 +
 
 +
| above = Statistics
 +
| aboveclass = sidebar-title
 +
 
 +
| headingclass = sidebar-headings
 +
| heading1style = sidebar-heading1
 +
 
 +
| heading1 = {{#switch: {{#len:{{{Full Name|}}} }} | 0 = | Full Name }}
 +
| content1 = {{{Full Name|}}}
 +
 
 +
| heading2 = {{#switch: {{#len:{{{Codename|}}} }} | 0 = | Codename }}
 +
| content2 = {{{Codename|}}}
 +
 
 +
| heading3 = {{#switch: {{#len:{{{Age|}}} }} | 0 = | Age }}
 +
| content3 = {{{Age|}}}
 +
 
 +
| heading4 = {{#switch: {{#len:{{{Origin|}}} }} | 0 = | Origin }}
 +
| content4 = {{{Origin|}}}
 +
 
 +
| heading5 = {{#switch: {{#len:{{{Type|}}} }} | 0 = | Type }}
 +
| content5 = [[Type::{{{Type|}}}]]
 +
 
 +
| heading6 = {{#switch: {{#len:{{{Legal Status|}}} }} | 0 = | Legal Status }}
 +
| content6 = [[Legal Status::{{{Legal Status|}}}]]
  
{
+
| heading7 = {{#switch: {{#len:{{{City|}}} }} | 0 = | City }}
  {#switch:{
+
| content7 = [[City::{{{City|}}}]]
            {#len:
 
                  {{{Title Image|}}}
 
            }
 
          }  
 
            | 0 = =={{{PAGENAME}}}== | [[File:{{{Title Image}}}|border|250px|center]]  
 
  }
 
}
 
  
==Background==
+
| heading8 = {{#switch: {{#len:{{{Affiliation|}}} }} | 0 = | Affiliation }}
{| style="width: 30em; font-size: 90%; border: 1px solid #000099; background-color: #FFFFFF; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
| content8 = {{#switch:{{#len:{{{Affiliation|}}}}} | 0 = }} {{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x]]}}
!style="text-align: center; background-color:#A4A4A4;" colspan="5" |<big>{{PAGENAME}}'s Information</big>
 
|-
 
| '''Full Name:'''
 
| {{{Full Name|}}}
 
|-
 
| '''Age:'''
 
| {{{Age|}}}
 
|
 
| '''Gender:'''
 
| [[Gender::{{{Gender|}}}]]
 
|-
 
| '''Occupation:'''
 
| {{{Occupation|}}}
 
|  
 
| '''Affiliation:'''
 
| {{#switch:{{#len:{{{Affiliation|}}}}} | 0 = None | }} {{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x]]}}
 
|-
 
| '''Actor:'''
 
| {{#switch:{{#len:{{{Actor|}}}}} | 0 = Not Set | [[Actor::{{{Actor|}}}]] }}
 
|
 
|-
 
|}
 
  
 +
| heading9 = {{#switch: {{#len:{{{Occupation|}}} }} | 0 = | Occupation }}
 +
| content9 = {{{Occupation|}}}
  
 +
| heading10 = {{#switch: {{#len:{{{Actor|}}} }} | 0 = | Actor }}
 +
| content10 = [[Actor::{{{Actor|}}}]]
  
{{#switch:{{#len:{{{Background}}} }} | 0 = | {{{Background}}} }}
+
| navbar = off
<br>
 
==Personality==
 
{{{Personality}}}
 
<br>
 
==Advantages==
 
{{{Advantages}}}
 
<br>
 
==Disadvantages==
 
{{{Disadvantages}}}
 
<br>
 
  
==RP Logs==
+
}}
<center>
 
{| class="wikitable mw-collapsible" width="95% " background-color=#F2F465
 
|-
 
! Current Month
 
|-
 
| align="left"| {{#ask: [[Featuring::{{PAGENAME}}]] [[Year::{{CURRENTYEAR}}]] [[Month::{{CURRENTMONTH}}]]
 
| format=ul
 
| sort=FullDate, LogTitle
 
| columns=3
 
| limit=100
 
| default=Logs for this month are forthcoming.
 
|}}
 
|}
 
  
{| class="wikitable mw-collapsible mw-collapsed" width="95%"
+
{{#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}} | }}
! Previous Months
+
{{!}}-{{!}}
|-
+
{{#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}} | }}
| align="left"| {{#ask: [[Featuring::{{PAGENAME}}]] [[Year::<{{CURRENTYEAR}}]] [[Month::<<{{CURRENTMONTH}}]]
+
{{!}}-{{!}}
 +
{{#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}} | }}
 +
}}
  
| format=ul
 
| sort=FullDate, LogTitle
 
| columns=3
 
| limit=100
 
| default=There are no logs for this character prior to the current month.
 
|}}
 
|}
 
  
<noinclude>
+
{{#tag: tabber|
{| class="wikitable mw-collapsible mw-collapsed" width="95%"
+
{{#if: {{{Background|}}} | Background{{=}}<p></p>{{{Background|}}} | }}
|-
+
{{!}}-{{!}}
! Previous Years
+
{{#if: {{{Personality|}}} | Personality{{=}}<p></p>{{{Personality|}}} | }}
|-
+
{{!}}-{{!}}
| align="left"| {{#ask: [[Featuring::{{PAGENAME}}]] [[Year::2017]]}}  
+
{{#if: {{{Powers|}}} | Powers{{=}}<p></p>{{{Powers|}}} | }}
 +
{{!}}-{{!}}
 +
{{#if: {{{Advantages|}}} | Advantages{{=}}<p></p>{{{Advantages|}}} | }}
 +
{{!}}-{{!}}
 +
{{#if: {{{Disadvantages|}}} | Disadvantages{{=}}<p></p>{{{Disadvantages|}}} | }}
 +
}}
 +
<br>
  
| format=ul
+
<div class=factoid-header>{{#switch: {{#len:{{{Fun Fact|}}} }} | 0 = | '''Fun Fact''': }}</div><br><div class=factoid>{{{Fun Fact|}}}</div>
| sort=FullDate, LogTitle
 
| columns=3
 
| limit=100
 
| default=There are no logs for this character prior to the current year.
 
|}}
 
|}
 
</noinclude>
 
  
  

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.