Difference between revisions of "Template:CharLinks"

From Dustloop Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<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>]] {{#if:{{{okizeme|}}}|[[{{{charMainPage}}}/Okizeme|<div class="char-btn addShadow" style="font-color:white">Okizeme</div>]]}} [[{{{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:{{{resources|}}}| [[{{{charMainPage}}}/Resources|<div class="char-btn addShadow" style="font-color:white">Resource Dump</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>
+
<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>]] {{#if:{{{okizeme|}}}|[[{{{charMainPage}}}/Okizeme|<div class="char-btn addShadow" style="font-color:white">Okizeme</div>]]}} [[{{{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:{{{resources|}}}| [[{{{charMainPage}}}/Resources|<div class="char-btn addShadow" style="font-color:white">Resource Dump</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>
 
<noinclude>
 
<noinclude>
  

Revision as of 04:56, 21 June 2022


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