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>Duskey
mNo edit summary
sims>Duskey
mNo edit summary
Line 1: Line 1:
<div style="float:right; border:1px solid black; text-align:center; clear:both; width:70px; background:#F9F9F9;">
<includeonly><div style="float:right; border:1px solid black; text-align:center; clear:both; width:70px; background:#F9F9F9;">
<div style="padding:2px;"><span style="cursor:help;" title="{{#switch:{{{1}}}
<div style="padding:2px;"><span style="cursor:help;" title="{{#switch:{{{1}}}
|portal=This topic has an associated portal">'''Portal:'''</span>
|portal=This topic has an associated portal">'''Portal:'''</span>
Line 10: Line 10:
|shortcut=[[{{{2}}}]]{{#if:{{{3|}}}|[[{{{3}}}]]}}{{#if:{{{4|}}}|[[{{{4}}}]]}}
|shortcut=[[{{{2}}}]]{{#if:{{{3|}}}|[[{{{3}}}]]}}{{#if:{{{4|}}}|[[{{{4}}}]]}}
}}</div>
}}</div>
</div><noinclude>{{Documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
</div></includeonly><noinclude>{{Documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:53, 27 August 2010

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}}
<span style="cursor:help;" title="
Portal:
Userbox:
Shortcuts:
<span style="cursor:help;" title="
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?)