Template:Minibox: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>Eduardog3000
m (Reverted edits by Eduardog3000 (talk | block) to last version by Duskey)
sims>Nikel23
(Perhaps I can simplify this...)
Line 1: Line 1:
{| style="width:80px; text-align:center;" align="right" cellspacing=5
{{#switch:{{{1}}}
{{#switch:{{{1}}}
|start =
{{{!}} style="width:80px; text-align:center;" align="right" cellspacing=5
|portal =
|portal =
{{!}}-
{{!}}-
Line 11: Line 10:
{{!}}-
{{!}}-
{{!}}<div style="border:solid black; border-width:1px 3px 1px 3px;" class="roundborder"><span style="cursor:help;" title="This topic has one or more shortcuts">'''Shortcut{{#if:{{{3|}}}|s}}:'''</span><br />[[{{{2}}}]]{{#if:{{{3|}}}|<br />[[{{{3}}}]]}}{{#if:{{{4|}}}|<br />[[{{{4}}}]]}}</div>
{{!}}<div style="border:solid black; border-width:1px 3px 1px 3px;" class="roundborder"><span style="cursor:help;" title="This topic has one or more shortcuts">'''Shortcut{{#if:{{{3|}}}|s}}:'''</span><br />[[{{{2}}}]]{{#if:{{{3|}}}|<br />[[{{{3}}}]]}}{{#if:{{{4|}}}|<br />[[{{{4}}}]]}}</div>
}}
|end =
|}<noinclude>{{Documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
{{!}}}
}}<noinclude>{{Documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 13:16, 12 July 2012

Template documentation (View · Edit · History · Purge)
Description
Used to make users aware that the topic either has a portal or userbox associated with the topic. Also used to show that a shortcut is available to the page for future visits.
Syntax
Up to 3 shortcuts are supported.
{{Minibox|start}}
{{Minibox|portal|The Sims Wiki:Admin Portal}}
{{Minibox|userbox|The Sims Wiki:Userboxes}}
{{Minibox|shortcut|FLS}}
{{Minibox|end}}
Portal:
Userbox:
Shortcut:
FLS
Examples
See The Sims 3: Fast Lane Stuff for more examples.

Visit Template:Minibox/doc to edit this text! (How does this work?) (Refresh this text - why?)