Template:CharLinks: Difference between revisions

Template page
No edit summary
(docs)
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="center" style="display:inline-block;">
<div class="plainlinks" style="display: flex;justify-content: center;align-items:center;flex-wrap: wrap; font-size:1.25em;">[[{{{charMainPage}}}|<div class="char-btn addShadow" style="font-color:white">Overview</div>]] [[{{{charMainPage}}}/Combos|<div class="char-btn addShadow" style="font-color:white">Combos</div>]]
<!-- Change above style to 'style:"text-align:center"' and move 'display:inline-block' to bottom div keep buttons next to CharData box -->
{{#if:{{{okizeme|}}}|[[{{{charMainPage}}}/Okizeme|<div class="char-btn addShadow" style="font-color:white">Okizeme</div>]]}}  
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">
[[{{{charMainPage}}}/Strategy|<div class="char-btn addShadow" style="font-color:white">Strategy/Counter Strategy</div>]] {{#if:{{{matchups|}}}| [[{{{charMainPage}}}/Matchups|<div class="char-btn addShadow" style="font-color:white">Matchups</div>]]}}{{#if:{{{videos|}}}| [{{{videos}}} <div class="char-btn addShadow" style="font-color:white">Videos</div>]}}{{#if:{{{discord|}}}| [{{{discord}}} <div class="char-btn addShadow" style="font-color:white">Discord</div>]}}{{#if:{{{forums|}}}| [{{{forums}}} <div class="char-btn addShadow" style="font-color:white">Forums</div>]}}{{#if:{{{twitter|}}}| [https://twitter.com/search?q=%23{{{twitter}}} <div class="char-btn addShadow" style="font-color:white">#{{{twitter}}}</div>]}}[[{{{charMainPage}}}/Frame Data|<div class="char-btn addShadow" style="font-color:white">Full Frame Data</div>]]</div>
{{Button |Overview |{{{charMainPage}}} }}<br/><br/>
{{Button |Combos |{{{charMainPage}}}/Combos }}{{Button |Okizeme |{{{charMainPage}}}/Okizeme }}{{Button |Strategy/Counter Strategy |{{{charMainPage}}}/Strategy}}<br/><br/>
{{#if:{{{videos|}}}|{{Button |Videos |external={{{videos|}}}}}|}}{{#if:{{{forums|}}}|{{Button |Forums |external={{{forums|}}}}}|}}{{#if:{{{discord|}}}|{{Button |Discord |external={{{discord|}}}}}|}}{{Button |Frame Data |{{{charMainPage}}}/Frame Data}}
</div>
</div>
<noinclude>
<noinclude>
<!--
{{Button |Where do I start? |{{{charMainPage}}}/Accessibility}
-->


==Usage==
==Usage==
Line 20: Line 19:
;discord
;discord
:link to discord
:link to discord
;twitter
:hashtag to link to relevant Twitter feed, omitting the # symbol
===Examples===
===Examples===
;Links to XRD Ky's subpages
;Links to XRD Ky's subpages
Line 31: Line 32:
{{CharLinks
{{CharLinks
|charMainPage=BBCPE/Ragna the Bloodedge
|charMainPage=BBCPE/Ragna the Bloodedge
}}
{{CharLinks
|charMainPage=GGXRD-R2/Slayer|okizeme=yes
}}
}}
</noinclude>
</noinclude>

Revision as of 15:57, 14 June 2021


Usage

Creates big images as links to various character links. See example for Ky below. Works with links within the dustloop wiki as well as foreign links to anywhere else on the web. Assumes that strategy/moves/combos/frame data are all under the character's main page.

charMainPage
link to character's overview page. Used to build links to all of the sub pages (like frame data, combos, etc).
For example when charMainPage=GGXRD/Ky Kiske will assume that his combos page is GGXRD/Ky Kiske/Combos.
videos
link to videos page. if left blank, no videos link will appear
forums
link to forums page
discord
link to discord
twitter
hashtag to link to relevant Twitter feed, omitting the # symbol

Examples

Links to XRD Ky's subpages
Links to BBCPE Ragna's subpages, without video, forums or discord links. Forums and Discord buttons are removed