Template:Minibox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Duskey No edit summary |
sims>Duskey mNo edit summary |
||
Line 1:
<div style="float:right; border:1px solid black; text-align:center; clear:both; width:
<div style="padding:2px; width:100%;"><span style="cursor:help;" title="{{#switch:{{{1}}}
|portal=This topic has an associated portal">'''Portal'''</span>
Line 7:
<div style="padding:2px; width:100%; border-top:1px solid black;">{{#switch:{{{1}}}
|portal=[[File:Moodlet_no_frame_door_exit_portal.png{{!}}link={{{2}}}]]
|userbox=[[File:
|shortcut=[[{{{2}}}]]{{#if:{{{3|}}}|[[{{{3}}}}}]]{{#if:{{{4|}}}|[[{{{4}}}]]}}
}}</div>
</div><noinclude>{{Documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
|
Revision as of 20:43, 27 August 2010
- 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
{{#switch:portal
|shortcut=The Sims Wiki:Admin Portal
Userbox
{{#switch:userbox
|shortcut=The Sims Wiki:Userboxes
Shortcut
{{#switch:shortcut
|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?)