Template:Navigation/SEO: Difference between revisions

Template page
(Adding Spells to seo topics)
Tag: Reverted
m (add missing brackets)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
-->{{#vardefine:seoTopic|  
-->{{#vardefine:seoTopic|  
   {{#switch: {{#titleparts:{{PAGENAME}}||-1}}
   {{#switch: {{#titleparts:{{PAGENAME}}||-1}}
<!-- for subpages, set the topic to the page name --> |Combos|Okizeme|Strategy|Counterstrategy|Matchups|Resources|Spells={{#titleparts:{{PAGENAME}}||-1}}
<!-- for subpages, set the topic to the page name --> |Combos|Okizeme|Strategy|Counterstrategy|Matchups|Resources={{#titleparts:{{PAGENAME}}||-1}}
<!-- Spice up starter guides a little --> |Starter=Starter Guide
<!-- Spice up starter guides a little --> |Starter=Starter Guide
<!-- In case somebody links to a data page -->|Data = Data Entry Page
<!-- In case somebody links to a data page -->|Data = Data Entry Page
Line 13: Line 13:
<!-- Handle Game Codes --> |GGACR|GGST|GGML|BBCF|DNFD|BBTAG|P4U2R|DBFZ|HNK|SBX|GGST|GBVS|KF4|GG2= {{#titleparts:{{PAGENAME}}|1|1}}_Logo.png
<!-- Handle Game Codes --> |GGACR|GGST|GGML|BBCF|DNFD|BBTAG|P4U2R|DBFZ|HNK|SBX|GGST|GBVS|KF4|GG2= {{#titleparts:{{PAGENAME}}|1|1}}_Logo.png
<!-- Topic Pages --> |Mechanics|Tech|Esoterica|Frame Data|Damage Data|Tier Lists|FAQ|Getting Started|Miscellaneous= {{#titleparts:{{PAGENAME}}|1|1}}_Logo.png
<!-- Topic Pages --> |Mechanics|Tech|Esoterica|Frame Data|Damage Data|Tier Lists|FAQ|Getting Started|Miscellaneous= {{#titleparts:{{PAGENAME}}|1|1}}_Logo.png
<!-- Default to character portraits --> |#default = {{#var:seoTargetGame}}_{{#var:seoTargetChara}}_Portrait.png
<!-- Edge case handling --> |#default= {{#switch: {{#titleparts:{{PAGENAME}}|1|2}}
<!-- Resolve patch notes being at pagename -2 --> |Version= {{#titleparts:{{PAGENAME}}|1|1}}_Logo.png
<!-- Default to character portrait art if all other cases faill --> |#default={{#var:seoTargetGame}}_{{#var:seoTargetChara}}_Portrait.png
<!---->}}
   }}
   }}
}}<!--
}}<!--

Latest revision as of 21:35, 29 August 2023