User talk:Toomai/Archive 24: Difference between revisions

m
(→‎Button Template: new section)
Line 97: Line 97:
Can someone pls explain to me how the Button Template ([[Template:Button]])(This:  
Can someone pls explain to me how the Button Template ([[Template:Button]])(This:  
<code>  
<code>  
[[Image:ButtonIcon-{{{1}}}-{{{2}}}{{#if:{{{3|}}}|-{{{3}}}}}.png|{{{s|20px}}}|link={{#if:{{{l|}}}|{{{l}}}|{{{2}}}{{#ifeq:{{lc:{{#sub:{{{2}}}|-3}}}}|pad||{{#ifeq:{{lc:{{#sub:{{{2}}}|-5}}}}|stick||&#32;button}}}}}}|{{{2}}}]]</includeonly
[[Image:ButtonIcon-{{{1}}}-{{{2}}}{{#if:{{{3|}}}|-{{{3}}}}}.png|{{{s|20px}}}|link={{#if:{{{l|}}}|{{{l}}}|{{{2}}}{{#ifeq:{{lc:{{#sub:{{{2}}}|-3}}}}|pad||{{#ifeq:{{lc:{{#sub:{{{2}}}|-5}}}}|stick||&#32;button}}}}}}|{{{2}}}]]
</code>
</code>
)
)
works? It's pretty chaotic. Maybe someone can transform it in something that looks like normal code so that i can understand it. I wanna know how i can add Buttons of Switch Controllers
works? It's pretty chaotic. Maybe someone can transform it in something that looks like normal code so that i can understand it. I wanna know how i can add Buttons of Switch Controllers
75

edits