Template:Overview: Difference between revisions

Template page
(Undo revision 316685 by Emo Tarquin (talk))
Tag: Undo
(Undo revision 355619 by PrivateTarkus (talk) reverting the reasons-to-pick section. the world is not yet ready.)
Tag: Undo
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#vardefine:targetChara|{{{chara|{{#titleparts:{{PAGENAME}}|1|2}}}}}}}
<includeonly><!--
{{#vardefine:targetGame|{{{game|{{#titleparts:{{PAGENAME}}|1|1}}}}}}}<includeonly>{{InvisibleHeader}}<div id="mf-home" class="fpcontent"><div id="fptopsection">
-->{{#vardefine:OverviewTargetCharacter|{{{chara| {{#titleparts:{{PAGENAME}}|1|2}} }}} }}<!--
{{FP Box
-->{{#vardefine:OverviewTargetGame|{{{game| {{#titleparts:{{PAGENAME}}|1|1}} }}} }}<!--
-->{{InvisibleHeader}}<!--
--><div id="mf-home" class="fpcontent"><div id="fptopsection"><!--
-->{{FP Box
|header=Overview
|header=Overview
|content= {{{overview|}}}<!--
|content= {{{overview|}}}<!--
-->{{#if: {{{lore|}}}|{{Bio
{{#if: {{{lore|}}}| {{Bio|lore={{{lore|}}} |voice={{{voice_actor|}}} |quote={{{quote|}}} }} |}}<!--
| name = {{{name|{{#var:targetChara}}}}}
-->{{StrengthsAndWeaknesses
| game = {{{game|{{#var:targetGame}}}}}
|intro= {{Character Label Cargo|game={{#var:OverviewTargetGame}} |chara={{#var:OverviewTargetCharacter}} |size=32px }} {{{summary|}}}
| lore = {{{lore|}}}
|pros= {{{pros|}}}
| voice = {{{voice_actor|}}}
|cons= {{{cons|}}}
| quote = {{{quote|}}}
|footnote= {{{footnote|}}}
}}|}}
{{StrengthsAndWeaknesses
| intro = {{#if: {{{chara|}}}{{{game|}}}|{{Character Label Cargo|game={{#var:targetGame}}|chara={{#var:targetChara}}|size=32px}}|{{Character Label Cargo|size=32px}}}} {{{summary|}}}
| pros = {{{pros|}}}
| cons = {{{cons|}}}
| footnote = {{{footnote|}}}
}}
}}
| subheader1 = {{#if: {{{unique_mechanic1_name|}}}| <span id="uniqueMechanic1">{{{unique_mechanic1_name|}}} |}}
|subheader1= {{#if: {{{unique_mechanic1_name|}}}| <span id="mechanic1">{{{unique_mechanic1_name|}}} |}}
| content2   = {{{unique_mechanic1|}}}
|content2= {{{unique_mechanic1|}}}
| subheader2 = {{#if: {{{unique_mechanic2_name|}}}| <span id="uniqueMechanic2">{{{unique_mechanic2_name|}}} |}}
|subheader2= {{#if: {{{unique_mechanic2_name|}}}| <span id="mechanic2">{{{unique_mechanic2_name|}}} |}}
| content3   = {{{unique_mechanic2|}}}
|content3= {{{unique_mechanic2|}}}
| subheader3 = {{#if: {{{unique_mechanic3_name|}}}| <span id="uniqueMechanic3">{{{unique_mechanic3_name|}}} |}}
|subheader3= {{#if: {{{unique_mechanic3_name|}}}| <span id="mechanic3">{{{unique_mechanic3_name|}}} |}}
| content4   = {{{unique_mechanic3|}}}
|content4= {{{unique_mechanic3|}}}
}}</div><div id="fpflexsection"><!--
-->{{FP Box
|padding= 0; overflow: hidden
|content= {{CharaInfoCargo
|game={{#var:OverviewTargetGame}}
|chara={{#var:OverviewTargetCharacter}}
|nameplate= {{#switch:{{#var:OverviewTargetGame}}|GBVS|BBCF|P4U2R|GGACR=yes|#default=no}}
|fastestAttack= {{{fastestAttack|}}}
|reversal= {{{reversal|}}}
|reversalType= {{{reversalType|}}}
|fatalStarter= {{{fatalStarter|}}}
|fatalRecovery= {{{fatalRecovery|}}}
}}
}}
</div><div id="fpflexsection">
}}<!--
{{FP Box
-->{{#switch:{{#var:OverviewTargetGame}} |P4U2R={{FP TOC|3}} |#default= {{FP TOC|2}} }}<!--
| padding=0; overflow: hidden
--></div></div><!--
| content={{CharaInfoCargo
| nameplate={{#switch:{{#var:targetGame}}|GBVS|BBCF|P4U2R|GGACR=yes|#default=no}}
| fastestAttack={{{fastestAttack|}}}
| reversal={{{reversal|}}}
| reversalType = {{{reversalType|}}}
| fatalStarter = {{{fatalStarter|}}}
| fatalRecovery = {{{fatalRecovery|}}}
}}
}}
{{#switch:{{#var:targetGame}}|P4U2R={{FP TOC|3}}|#default ={{FP TOC|2}}}}
</div></div><!--
   Search Engine Optimization Data.
   Search Engine Optimization Data.
   Use the page information to generate search engine optimization tags
   Use the page information to generate search engine optimization tags
-->{{#vardefine:seoGameCode| {{{seoGameCode|{{#titleparts:{{PAGENAME}}|1|1}} }}} }}<!--
-->{{#vardefine:seoChara| {{{seoChara|{{#titleparts:{{PAGENAME}}|1|2}} }}} }}<!--
-->{{#seo:
-->{{#seo:
|title={{#var:targetGame}} - {{#var:targetChara}}
|title={{#var:seoGameCode}} - {{#var:seoChara}}
|titlemode=replace
|titlemode=replace
|keywords={{#var:targetGame}},{{#var:targetGame}} characters,{{#var:targetChara}},{{#var:targetGame}} {{#var:targetChara}},wiki,{{#var:targetGame}} wiki
|keywords={{#var:seoGameCode}},{{#var:seoGameCode}} characters,{{#var:seoChara}},{{#var:seoGameCode}} {{#var:seoChara}},wiki,{{#var:seoGameCode}} wiki
|description={{{summary|if you're seeing this then the character's Overview is missing a "&#124;summary=" field}}}
|description={{{summary|if you're seeing this then the character's Overview is missing a "&#124;summary=" field}}}
|image={{#var:targetGame}}_{{#var:targetChara}}_Portrait.png
|image={{#var:seoGameCode}}_{{#var:seoChara}}_Portrait.png
|og:image={{#invoke:Image|fetchURL|image={{#var:targetGame}}_{{#var:targetChara}}_Icon.png}}
|og:image={{#invoke:Image|fetchURL|image={{#var:seoGameCode}}_{{#var:seoChara}}_Icon.png}}
|og:type=article
|og:type=article
|twitter:card=summary_large_image
|twitter:card=summary_large_image
|twitter:image={{#invoke:Image|fetchURL|image={{#var:targetGame}}_{{#var:targetChara}}_Portrait.png}}
|twitter:image={{#invoke:Image|fetchURL|image={{#var:seoGameCode}}_{{#var:seoChara}}_Portrait.png}}
|locale=en_EN
|locale=en_EN
}}</includeonly><noinclude>{{clear}}{{doc}}</noinclude>
}}</includeonly><noinclude>{{clear}}{{doc}}</noinclude>

Latest revision as of 05:48, 24 December 2022

| chara                 = (inferred from page URL)
| game                  = (inferred from page URL)
| overview              = 
| summary               = used in pros/cons table and in discord embeds
| pros                  = 
| cons                  = 
| footnote              = 
| unique_mechanic1_name = Subsection header for main FP Box
| unique_mechanic1      = contents for the corresponding optional subsection
| unique_mechanic2_name = Subsection header for main FP Box
| unique_mechanic2      = contents for the corresponding optional subsection
| unique_mechanic3_name = Subsection header for main FP Box
| unique_mechanic3      = contents for the corresponding optional subsection
| fastestAttack         = (optional)
| reversal              = (optional)
| reversalType          = (optional)
| fatalStarter          = (optional)
| fatalRecovery         = (optional)