Template:UnBox tabbed: Difference between revisions

From FBSA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 70: Line 70:
|<tr><td colspan="2" style="text-align:center">''{{{footnotes|}}}''</td></tr>
|<tr><td colspan="2" style="text-align:center">''{{{footnotes|}}}''</td></tr>
}}
}}
</table>}}</div></includeonly>
</table>
{{#if:{{{tab2|}}}
|{{!}}-{{!}}
{{{tab2|Second}}}=
<table class="infobox" style=" border-spacing: 3px; background-color: #f8f9fa; color: black; padding: 0.2em; font-size: 0.88em; line-height: 1.5em; width:300px; margin:-5px;">
<tr>
<td colspan="2" style="text-align:center">[[Image:{{{image2|{{{image|Confidentialimage.jpg}}}}}}|300px|]]</td>
</tr>
{{#if:{{{caption2|{{{caption|}}}}}}
|<tr><td colspan="2" style="text-align:center; font-size:0.9em">{{{caption2|{{{caption|}}}}}}</td></tr>
}}
<tr>
<td colspan="2" style="text-align:center; vertical-align:middle; font-size:2em; font-family:Red Circle,Paragon City,fantasy,sans-serif; font-variant:small-caps">
<table style="width:100%; text-align:center; vertical-align:middle; font-size:0.5em">
<tr>
<td rowspan="3">{{#switch: {{{origin2|{{{origin|}}}}}} | Magic = [[File:Originicon_magic.png]] | Mutant = [[File:Originicon_mutation.png]] | Natural = [[File:Originicon_natural.png]] | Science = [[File:Originicon_science.png]] | Technology = [[File:Originicon_technology.png]] | #default = }}</td>
<td>{{{title|}}}</td>
<td rowspan="3">{{#switch: {{{archetype2|{{{archetype|}}}}}} | Blaster = [[File:Archetypeicon_blaster.png]] | Controller = [[File:Archetypeicon_controller.png]] | Defender = [[File:Archetypeicon_defender.png]] | Guardian = [[File:Archetypeicon guardian.png]] | Peacebringer = [[File:Archetypeicon peacebringer.png]] | Scrapper = [[File:Archetypeicon scrapper.png]] | Sentinel = [[File:Archetypeicon_sentinel.png]] | Tanker = [[File:Archetypeicon tanker.png]] | Warshade = [[File:Archetypeicon_warshade.png]] | Arachnos Soldier = [[File:V archetypeicon arachnos soldier.png]] | Arachnos Widow = [[File:V_archetypeicon_arachnos_widow.png]] | Brute = [[File:V_archetypeicon_brute.png]] | Corruptor = [[File:V archetypeicon corruptor.png]] | Dominator = [[File:V_archetypeicon_dominator.png]] | Mastermind = [[File:V_archetypeicon_mastermind.png]] | Stalker = [[File:V_archetypeicon_stalker.png]] | #default = }}</td>
</tr>
<tr>
<td style="font-size:2em">'''{{{name2|{{{name|Unknown Subject}}}}}}'''</td>
</tr>
<tr>
<td>{{{badge2|{{{badge|}}}}}}</td>
</tr>
<tr>
<td colspan="3">{{#switch: {{{alignment2|{{{alignment|}}}}}} | Hero = [[File:CreateSymbol_Hero.png]] | Loyalist = [[File:CreateSymbol_Loyalist.png]] | Resistance = [[File:CreateSymbol_Resistance.png]] | Rogue = [[File:CreateSymbol_Rogue.png]] | Vigilante = [[File:CreateSymbol_Vigilante.png]] | Villain = [[File:CreateSymbol_Villain.png]] | #default = }}</td>
</tr>
</table>
</td>
</tr>
<tr><td colspan="2" style="text-align:center">'''Player: {{{player2|{{{player|Confidential}}}}}}'''</td></tr>
<tr><th>Origin:</th><td>''{{{origin2|{{{origin|Confidential}}}}}}''</td></tr>
<tr><th>Archetype:</th><td>''{{{archetype2|{{{archetype|Confidential}}}}}}''</td></tr>
<tr><th>Security Level:</th><td>''{{{level2|{{{level|Confidential}}}}}}''</td></tr>
<tr><th>Server:</th><td>''{{{server2|{{{server|Confidential}}}}}}''</td></tr>
{{#if:{{{supergroup2|{{{supergroup|}}}}}}
|<tr><th>Supergroup</th><td>''{{{supergroup2|{{{supergroup|}}}}}}''</td></tr>
}}
<tr><td colspan="2" style="text-align:center">'''Personal Data'''</td></tr>
<tr><th>Real Name:</th><td>''{{{realname2|{{{realname|Confidential}}}}}}''</td></tr>
<tr><th>Known Aliases:</th><td>''{{{aliases2|{{{aliases|None}}}}}}''</td></tr>
<tr><th>Species:</th><td>''{{{species2|{{{species|Presumed Human}}}}}}'' </td></tr>
{{#if:{{{gender2|{{{gender|}}}}}}
|<tr><th>Gender</th><td>''{{{gender2|{{{gender|}}}}}}''</td></tr>
}}
{{#if:{{{pronouns2|{{{pronouns|}}}}}}
|<tr><th>Pronouns</th><td>''{{{pronouns2|{{{pronouns|}}}}}}''</td></tr>
}}
<tr><th>Age:</th><td>''{{{age2|{{{age|Confidential}}}}}}''</td></tr>
<tr><th>Height:</th><td>''{{{height2|{{{height|Confidential}}}}}}''</td></tr>
<tr><th>Weight:</th><td>''{{{weight2|{{{weight|Confidential}}}}}}''</td></tr>
<tr><th>Eye Color:</th><td>''{{{eyes2|{{{eyes|Confidential}}}}}}''</td></tr>
<tr><th>Hair Color:</th><td>''{{{hair2|{{{hair|Confidential}}}}}}''</td></tr>
<tr><td colspan="2" style="text-align:center">'''Biographical Data'''</td></tr>
<tr><th>Nationality:</th><td>''{{{nationality2|{{{nationality|Confidential}}}}}}''</td></tr>
<tr><th>Occupation:</th><td>''{{{occupation2|{{{occupation|Confidential}}}}}}''</td></tr>
<tr><th>Education:</th><td>''{{{education2|{{{education|Confidential}}}}}}''</td></tr>
<tr><th>Place of Birth:</th><td>''{{{birthplace2|{{{birthplace|Confidential}}}}}}''</td></tr>
<tr><th>Hometown:</th><td>''{{{hometown2|{{{hometown|Confidential}}}}}}''</td></tr>
<tr><th>Base of Operations:</th><td>''{{{base2|{{{base|Confidential}}}}}}''</td></tr>
<tr><th>Marital Status:</th><td>''{{{marital2|{{{marital|Confidential}}}}}}''</td></tr>
<tr><th>Known Relatives:</th><td>''{{{relatives2|{{{relatives|Confidential}}}}}}''</td></tr>
<tr><td colspan="2" style="text-align:center">'''Known Powers'''</td></tr>
<tr><td colspan="2" style="text-align:center">''{{{powers2|{{{powers|Confidential}}}}}}''</td></tr>
<tr><td colspan="2" style="text-align:center">'''Known Abilities'''</td></tr>
<tr><td colspan="2" style="text-align:center">''{{{abilities2|{{{abilities|Confidential}}}}}}''</td></tr>
<tr><td colspan="2" style="text-align:center">'''Equipment'''</td></tr>
<tr><td colspan="2" style="text-align:center">''{{{equipment2|{{{equipment|Confidential}}}}}}''</td></tr>
{{#if:{{{footnotes2|{{{footnotes}}}}}}
|<tr><td colspan="2" style="text-align:center">''{{{footnotes2|{{{footnotes}}}}}}''</td></tr>
}}
</table>}}
}}
</div></includeonly>
<noinclude>
<noinclude>
{{UnBox tabbed
{{UnBox tabbed
Line 105: Line 179:
| equipment = Wiki markup
| equipment = Wiki markup
| footnotes = Wears socks and sandals
| footnotes = Wears socks and sandals
| tab2 = Ultimate
| name2 = Unfotainment
| alignment2 = Villain
| origin2 = Technology
| archetype2 = Scrapper
|}}
|}}
This is a variant of [[Template:UnBox]], itself based on the solid [[Template:HeroBox|HeroBox]] template (or some derivative), and should be more or less drop-in compatible.
This is a variant of [[Template:UnBox]], itself based on the solid [[Template:HeroBox|HeroBox]] template (or some derivative), and should be more or less drop-in compatible. It supports up to 5 tabbed infoboxes, and fields will default to the main infobox's value (if any) if left unspecified. The first tab's name defaults to the page name if left blank but you can name it if you wish. The other tabs need their tab# field specified to turn them on.


== Cheat Sheet ==
== Cheat Sheet ==
Line 112: Line 191:


  <nowiki>{{UnBox tabbed
  <nowiki>{{UnBox tabbed
| tab1 =
| alignment =  
| alignment =  
| image =  
| image =  

Revision as of 19:23, 22 August 2021


Confidentialimage.jpg
Originicon mutation.png The Superfluous Templatey V archetypeicon mastermind.png
UnBox tabbed
Has a Badge!
CreateSymbol Hero.png
Player: You!?
Origin:Mutant
Archetype:Mastermind
Security Level:67
Server:Everlasting
SupergroupThe Super Templates
Personal Data
Real Name:UnBox Template
Known Aliases:None
Species:Template
GenderTemplate
PronounsIt/its
Age:Not as long as you'd think
Height:Depends on what fields are included
Weight:Milliseconds
Eye Color:None
Hair Color:None
Biographical Data
Nationality:Wikizen
Occupation:Template
Education:Template U
Place of Birth:FBSA Wiki
Hometown:FBSA Wiki
Base of Operations:FBSA Wiki
Marital Status:Single ;)
Known Relatives:Template:UnGroupBox, Template:UnBox
Known Powers
Shapeshifting
Known Abilities
Displaying icons conditionally
Equipment
Wiki markup
Wears socks and sandals

Confidentialimage.jpg
Originicon technology.png The Superfluous Templatey Archetypeicon scrapper.png
Unfotainment
Has a Badge!
CreateSymbol Villain.png
Player: You!?
Origin:Technology
Archetype:Scrapper
Security Level:67
Server:Everlasting
SupergroupThe Super Templates
Personal Data
Real Name:UnBox Template
Known Aliases:None
Species:Template
GenderTemplate
PronounsIt/its
Age:Not as long as you'd think
Height:Depends on what fields are included
Weight:Milliseconds
Eye Color:None
Hair Color:None
Biographical Data
Nationality:Wikizen
Occupation:Template
Education:Template U
Place of Birth:FBSA Wiki
Hometown:FBSA Wiki
Base of Operations:FBSA Wiki
Marital Status:Single ;)
Known Relatives:Template:UnGroupBox, Template:UnBox
Known Powers
Shapeshifting
Known Abilities
Displaying icons conditionally
Equipment
Wiki markup
Wears socks and sandals

This is a variant of Template:UnBox, itself based on the solid HeroBox template (or some derivative), and should be more or less drop-in compatible. It supports up to 5 tabbed infoboxes, and fields will default to the main infobox's value (if any) if left unspecified. The first tab's name defaults to the page name if left blank but you can name it if you wish. The other tabs need their tab# field specified to turn them on.

Cheat Sheet

Here it is in all its boring glory. Remove fields that you're not using to get the default values for them. For most, that's "confidential", although some fields should disappear entirely if they're not used, like supergroup membership.

{{UnBox tabbed
| tab1 = 
| alignment = 
| image = 
| caption = 
| title = 
| name = 
| badge = 
| player = 
| origin = 
| archetype = 
| server = 
| level = 
| supergroup = 
| realname = 
| aliases = 
| species = 
| gender = 
| pronouns = 
| age = 
| height = 
| weight = 
| eyes = 
| hair = 
| nationality = 
| occupation = 
| education = 
| birthplace = 
| hometown = 
| base = 
| marital = 
| relatives = 
| powers = 
| abilities = 
| equipment = 
| footnotes = 
|}}