Template talk:Shortcut

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

I think it would look a lot better if we dropped the line break (<br\>) and just made the shortcut box one line, to me it would look a little nicer. --Mrmiscellanious 20:44, 25 July 2005 (UTC)[reply]

you mean like this.

Shortcut:TP:SC

--Ryan524 20:53, 25 July 2005 (UTC)[reply]

fwiw, i like it on two lines... IlyaHaykinson 04:41, July 26, 2005 (UTC)

remeber to add any shortcuts to WN:WN[edit]

Plese rember to add any shortcut you create to WN:WN Bawolff 03:07, 30 August 2005 (UTC)[reply]

edit?[edit]

"Shortcut:" should probably link to [[WN:]]. 68.39.174.238 18:42, 20 April 2006 (UTC)[reply]

Add multiple shortcuts[edit]

{{editprotected}}

Old code[edit]

<div id="shortcut" style="border: 1px dashed blue; margin: 0em 1em 0em 1em; text-align: center; padding:5px; float: right; clear: right;">
'''[[WN:WN|Shortcut:]]'''<br />{{{1}}}</div>

New code[edit]

<div id="shortcut" style="border: 1px dashed blue; margin: 0em 1em 0em 1em; text-align: center; padding:5px; float: right; clear: right;">
{{#ifexist: {{{2}}}|'''[[WN:WN|Shortcut:]]'''|'''[[WN:WN|Shortcuts:]]'''}}<br />{{{1}}}{{#ifexist: {{{2}}}|<br />{{{2}}}|<!-- Blank -->}}{{#ifexist: {{{3}}}|<br />{{{3}}}|<!-- Blank -->}}{{#ifexist: {{{4}}}|<br />{{{4}}}|<!-- Blank -->}}{{#ifexist: {{{5}}}|<br />{{{5}}}|<!-- Blank -->}}</div>

Changes[edit]

  1. Lets you add up to 5 shortcuts
  2. If there are 2 or more shortcuts it changes to "Shortcuts:". PokestarFan (talk) 14:19, 14 April 2017 (UTC)[reply]