Template:Policy shortcut/doc: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
(clean up)
 
Line 9: Line 9:


<div style="width: 575px; background: #dddddd; border: 1px solid black; padding:0.5em 1em 0.5em 1em;"><pre>
<div style="width: 575px; background: #dddddd; border: 1px solid black; padding:0.5em 1em 0.5em 1em;"><pre>
{{policy shortcut |WP:SHORT1 |WP:SHORT2 |WP:SHORT3<!-- up to 12 -->}}
{{policy shortcut |SV:SHORT1 |SV:SHORT2 |SV:SHORT3<!-- up to 12 -->}}
</pre></div>
</pre></div>


Line 17: Line 17:
{{para|float|left}} makes this template flow to the left of the page instead:
{{para|float|left}} makes this template flow to the left of the page instead:
<div style="width: 360px; background: #dddddd; border: 1px solid black; padding:0.5em 1em 0.5em 1em;"><pre>
<div style="width: 360px; background: #dddddd; border: 1px solid black; padding:0.5em 1em 0.5em 1em;"><pre>
{{policy shortcut |float=left |WP:SHORT }}
{{policy shortcut |float=left |SV:SHORT }}
</pre></div>
</pre></div>



Latest revision as of 07:32, 12 April 2014

This is the {{policy shortcut}} template. This template should be used instead of the standard {{shortcut}} template within individual sections of policy pages to which readers are redirected without seeing the {{policy}} notice at the top of the page.

Usage, examples and anchors

This template works in the same way as the {{shortcut}} template, see the full documentation there. The template can take up to ten (10) shortcuts as parameters.

{{policy shortcut |SV:SHORT1 |SV:SHORT2 |SV:SHORT3<!-- up to 12 -->}}

Additional parameter

This template has one additional parameter.

|float=left makes this template flow to the left of the page instead:

{{policy shortcut |float=left |SV:SHORT }}
Example
Policy shortcut:


See also