Template:CharLinks: Difference between revisions

Template page
m (Shtkn moved page Template:CharLinks2 to Template:CharLinks: Using this as default from now on)
No edit summary
Line 4: Line 4:
{{Button |Overview |{{{charMainPage}}} }}<br/><br/>
{{Button |Overview |{{{charMainPage}}} }}<br/><br/>
{{Button |Combos |{{{charMainPage}}}/Combos }}{{Button |Okizeme |{{{charMainPage}}}/Okizeme }}{{Button |Strategy/Counter Strategy |{{{charMainPage}}}/Strategy}}<br/><br/>
{{Button |Combos |{{{charMainPage}}}/Combos }}{{Button |Okizeme |{{{charMainPage}}}/Okizeme }}{{Button |Strategy/Counter Strategy |{{{charMainPage}}}/Strategy}}<br/><br/>
{{#if:{{{videos|}}}|{{Button |Videos |external={{{videos|}}}}}|}}{{Button |Forums |external={{{forums|http://www.dustloop.com/forums}}}}}{{#if:{{{discord|}}}|{{Button |Discord |external={{{discord|}}}}}|}}{{Button |Frame Data |{{{charMainPage}}}/Frame Data}}
{{#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>
</div>
</div>
<noinclude>
<noinclude>
<!--
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">
[[File:Overview_Button.png|250px|link={{{charMainPage}}}]][[File:Combos_Button.png|250px|link={{{charMainPage}}}/Combos]][[File:Strategy_Button.png|250px|link={{{charMainPage}}}/Strategy]]
{{#if: {{{videos|}}}|[[File:VideoDatabase_Button.png|250px|link={{{videos|}}}]]|}}[[File:Forum_Button.png|250px|link={{#if: {{{forums|}}}|{{{forums|}}}|http://www.dustloop.com}}]]
[[File:FrameData_Button.png|250px|link={{{charMainPage}}}/Frame Data]]
</div>
-->


==Usage==
==Usage==
Line 30: Line 22:
===Examples===
===Examples===
;Links to XRD Ky's subpages
;Links to XRD Ky's subpages
{{CharLinks2
{{CharLinks
|charMainPage=GGXRD/Ky Kiske
|charMainPage=GGXRD/Ky Kiske
|videos=http://horibuna.web.fc2.com/GGXrd/GGXrd_KY.html
|videos=http://horibuna.web.fc2.com/GGXrd/GGXrd_KY.html
Line 37: Line 29:
}}
}}
;Links to BBCPE Ragna's subpages, without video, forums or discord links. Forums automatically goes to main page of forums
;Links to BBCPE Ragna's subpages, without video, forums or discord links. Forums automatically goes to main page of forums
{{CharLinks2
{{CharLinks
|charMainPage=BBCPE/Ragna the Bloodedge
|charMainPage=BBCPE/Ragna the Bloodedge
}}
}}
</noinclude>
</noinclude>

Revision as of 17:09, 29 May 2019

[[{{{charMainPage}}} |Overview ]]

[[{{{charMainPage}}}/Combos |Combos ]] [[{{{charMainPage}}}/Okizeme |Okizeme ]] [[{{{charMainPage}}}/Strategy|Strategy/Counter Strategy ]]

[[{{{charMainPage}}}/Frame Data|Frame Data ]]


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

Examples

Links to XRD Ky's subpages
Links to BBCPE Ragna's subpages, without video, forums or discord links. Forums automatically goes to main page of forums