m (Shtkn moved page Template:CharLinks-GG to Template:CharLinks2 without leaving a redirect) |
(testing inline links) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="center" style=" | <div class="center" style="text-align:center;"> | ||
<!-- Change above style to 'style:"text-align:center"' and move 'display:inline-block' to bottom div keep buttons next to CharData box --> | <!-- Change above style to 'style:"text-align:center"' and move 'display:inline-block' to bottom div keep buttons next to CharData box --> | ||
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;"> | <div class="center" style="width:auto; margin-left:auto; margin-right:auto;display:inline-block"> | ||
{{Button |Overview |{{{charMainPage}}} }}{{Button |Combos |{{{charMainPage}}}/Combos }}{{Button |Okizeme |{{{charMainPage}}}/Okizeme }}{{Button |Strategy/Counter Strategy |{{{charMainPage}}}/Strategy}}<br/><br/> | {{Button |Overview |{{{charMainPage}}} }}<br/><br/> | ||
{{#if:{{{videos|}}}|{{Button |Videos |external={{{videos|}}} }}|}}{{Button |Forums |external={{{forums| | {{Button |Combos |{{{charMainPage}}}/Combos }}{{#if:{{{okizeme|}}}|{{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 |Full Frame Data |{{{charMainPage}}}/Frame Data}} | |||
</div> | </div> | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
<!-- | <!-- | ||
{{Button |Where do I start? |{{{charMainPage}}}/Accessibility} | |||
--> | --> | ||
Line 29: | Line 26: | ||
===Examples=== | ===Examples=== | ||
;Links to XRD Ky's subpages | ;Links to XRD Ky's subpages | ||
{{CharLinks | {{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 35: | Line 32: | ||
|discord=http://www.fakeurl.com | |discord=http://www.fakeurl.com | ||
}} | }} | ||
;Links to BBCPE Ragna's subpages, without video, forums or discord links. Forums | ;Links to BBCPE Ragna's subpages, without video, forums or discord links. Forums and Discord buttons are removed | ||
{{CharLinks | {{CharLinks | ||
|charMainPage=BBCPE/Ragna the Bloodedge | |charMainPage=BBCPE/Ragna the Bloodedge | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 00:54, 18 June 2020
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 isGGXRD/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 and Discord buttons are removed