Template:Key press: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Moving the repetitive code to /core instead. (Not using Template:Keypress/Switch anymore.) Adding error logging if too many parameters are used, so we can find and fix those cases.
meta>Davidgothberg
Found a page showing a 4 key combination. So making this template handle 5 to have some margin.
Line 3: Line 3:
-->{{#if:{{{3|}}}| +{{keypress/core| {{{3}}} }} }}<!--
-->{{#if:{{{3|}}}| +{{keypress/core| {{{3}}} }} }}<!--
-->{{#if:{{{4|}}}| +{{keypress/core| {{{4}}} }} }}<!--
-->{{#if:{{{4|}}}| +{{keypress/core| {{{4}}} }} }}<!--
-->{{#if:{{{5|}}}| [[Category:Wikipedia keypress template parameter needs fixing]] }}<noinclude>
-->{{#if:{{{5|}}}| +{{keypress/core| {{{5}}} }} }}<!--
-->{{#if:{{{6|}}}| [[Category:Wikipedia keypress template parameter needs fixing]] }}<noinclude>


{{documentation}}
{{documentation}}
<!-- ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE -->
<!-- ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE -->
</noinclude>
</noinclude>

Revision as of 17:18, 23 March 2009

Template:Keypress/core