Jump to content

Template:Shortcut: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
create
css class, simplify parameters, add note
Line 1: Line 1:
{| id="shortcut" class="noprint" style="border: 1px solid #999; background: #fff; margin: 0 0 .5em 1em; text-align: center; padding: 5px; float: {{{float|right}}}; clear: {{{clear|right}}}; font-size: smaller;"
{| id="shortcut" class="noprint sidebox" style="float: {{{float|right}}}; clear: {{{float|right}}}; font-size: smaller;"
|-
|-
! Shortcut:<br />{{{1}}}
! Shortcut:<br />[[{{{1}}}|{{{2}}}]]
|-
|-
|} <noinclude>[[Category:Link templates|Shortcut]]
|} <noinclude><br clear="all" />
----
Correct form is <code><nowiki>{{shortcut|Full name of page|Shortcut}}</nowiki></code>. 
 
If desired, a named parameter, called "float,"  can be added to make the box appear on the left side of the screen.
 
[[Category:Link templates|Shortcut]]</noinclude>

Revision as of 19:07, 12 November 2010



Correct form is {{shortcut|Full name of page|Shortcut}}.

If desired, a named parameter, called "float," can be added to make the box appear on the left side of the screen.