Difference between revisions of "Template:Character"

From AIMux
Jump to: navigation, search
 
(85 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
|Character Image=
 
|Character Image=
 +
|Title Font=
 
|Full Name=
 
|Full Name=
 
|Codename=
 
|Codename=
Line 19: Line 20:
 
|Advantages=
 
|Advantages=
 
|Disadvantages=
 
|Disadvantages=
 +
|Fun Fact=
  
 
}}</pre>
 
}}</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><center>{{PAGENAME}}</center></div>
+
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
  
Line 36: Line 38:
 
| headingclass = sidebar-headings
 
| headingclass = sidebar-headings
 
| heading1style = sidebar-heading1
 
| heading1style = sidebar-heading1
 
  
 
| heading1 = {{#switch: {{#len:{{{Full Name|}}} }} | 0 = | Full Name }}
 
| heading1 = {{#switch: {{#len:{{{Full Name|}}} }} | 0 = | Full Name }}
Line 72: Line 73:
 
  }}
 
  }}
  
<tabs>
+
{{#tag: tabber|
{{#switch: {{#len:{{{Background|}}} }} | 0 = | <tab Name{{=}}"Background">{{{Background}}}</tab> }}
+
{{#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}} | }}
{{#switch: {{#len:{{{Personality|}}} }} | 0 = | <tab Name{{=}}"Personality">{{{Personality}}}</tab> }}
+
{{!}}-{{!}}
{{#switch: {{#len:{{{Powers|}}} }} | 0 = | <tab Name{{=}}"Powers">{{{Powers}}}</tab> }}
+
{{#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}} | }}
{{#switch: {{#len:{{{Advantages|}}} }} | 0 = | <tab Name{{=}}"Advantages">{{{Advantages}}}</tab> }}
+
{{!}}-{{!}}
{{#switch: {{#len:{{{Disadvantages|}}} }} | 0 = | <tab Name{{=}}"Disadvantages">{{{Disadvantages}}}</tab> }}
+
{{#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}} | }}
</tabs>
+
{{!}}-{{!}}
 +
{{#if: {{#ask: [[Featuring::{{PAGENAME}}]] [[FlashBack::true]] }} | Flashback Logs={{#ask: [[Featuring::{{PAGENAME}}]] [[FlashBack::true]] | format{{=}}ul | class{{=}}rplogs | sort=FullDate, LogTitle}} | }}
 +
}}
  
  
<tabs>
+
{{#tag: tabber|
<tab Name="Background">{{{Background|}}}</tab>  
+
{{#if: {{{Background|}}} | Background{{=}}<p></p>{{{Background|}}} | }}
<tab Name="Personality">{{{Personality|}}}</tab>
+
{{!}}-{{!}}
<tab Name="Powers">{{{Powers|}}}</tab>
+
{{#if: {{{Personality|}}} | Personality{{=}}<p></p>{{{Personality|}}} | }}
<tab Name="Advantages">{{{Advantages|}}}</tab>
+
{{!}}-{{!}}
<tab Name="Disadvantages">{{{Disadvantages|}}}</tab>
+
{{#if: {{{Powers|}}} | Powers{{=}}<p></p>{{{Powers|}}} | }}
</tabs>
+
{{!}}-{{!}}
 
+
{{#if: {{{Advantages|}}} | Advantages{{=}}<p></p>{{{Advantages|}}} | }}
{{#tab:Background/#1, Personality/#2, Powers/#3, Advantages/#4, Disadvantages/#5|{{{Background}}}|{{{Personality}}}|{{{Powers}}}|{{{Advantages}}}|{{{Disadvantages}}} }}
+
{{!}}-{{!}}
 
+
{{#if: {{{Disadvantages|}}} | Disadvantages{{=}}<p></p>{{{Disadvantages|}}} | }}
 
+
}}
 
 
 
 
<br>
 
 
 
 
 
{{#switch: {{#len:{{{Background|}}} }} | 0 = | {{=}}{{=}}Background{{=}}{{=}} }}
 
{{{Background}}}
 
 
<br>
 
<br>
{{#switch: {{#len:{{{Personality|}}} }} | 0 = | {{=}}{{=}}Personality{{=}}{{=}} }}
 
{{{Personality}}}
 
<br>
 
{{#switch: {{#len:{{{Powers|}}} }} | 0 = | {{=}}{{=}}Powers{{=}}{{=}} }}
 
{{{Powers}}}
 
<br>
 
{{#switch: {{#len:{{{Advantages|}}} }} | 0 = | {{=}}{{=}}Advantages{{=}}{{=}} }}
 
{{{Advantages}}}
 
<br>
 
{{#switch: {{#len:{{{Disadvantages|}}} }} | 0 = | {{=}}{{=}}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%"
 
|-
 
! Previous Months
 
|-
 
| align="left"| {{#ask: [[Featuring::{{PAGENAME}}]] [[Year::<{{CURRENTYEAR}}]] [[Month::<<{{CURRENTMONTH}}]]
 
 
| format=ul
 
| sort=FullDate, LogTitle
 
| columns=3
 
| limit=100
 
| default=There are no logs for this character prior to the current month.
 
|}}
 
|}
 
 
<noinclude>
 
{| class="wikitable mw-collapsible mw-collapsed" width="95%"
 
|-
 
! Previous Years
 
|-
 
| align="left"| {{#ask: [[Featuring::{{PAGENAME}}]] [[Year::2017]]}}
 
  
| 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.