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
m (38 revisions imported: Import from https://sims.wikia.com)
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
<noinclude>{{tm|{{experimental}}}}</noinclude>
|start =
<includeonly>{|align="right"
{{!}}<div style="border:1px solid black; text-align:center; width:70px; background:#F9F9F9; margin-bottom:5px; clear:left;">
{{{!}} style="width:80px; text-align:center;" align="right" cellspacing=5
|portal =
<div style="padding:2px;"><span style="cursor:help;" title="{{#switch:{{{1}}}
{{!}}-
|portal=This topic has an associated portal">'''Portal:'''</span>
{{!}}<div style="border:solid black; border-width:1px 3px 1px 3px;" class="roundborder"><span style="cursor:help;" title="This topic has an associated portal">'''Portal:'''</span><br />[[File:Moodlet_no_frame_door_exit_portal.png{{!}}link={{{2}}}]]</div>
|userbox=This topic has one or more associated userboxes">'''Userbox:'''</span>
|userbox =
|shortcut=This topic has one or more shortcuts">'''Shortcuts:'''</span>
{{!}}-
}}</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 associated userboxes">'''Userbox:'''</span><br />[[File:Balloon_toyblocks.png{{!}}link={{{2}}}]]</div>
<div style="padding:2px; border-top:1px solid black;">{{#switch:{{{1}}}
|shortcut =
|portal=[[File:Moodlet_no_frame_door_exit_portal.png{{!}}link={{{2}}}]]
{{!}}-
|userbox=[[File:Balloon_toyblocks.png{{!}}link={{{2}}}]]
|shortcut=[[{{{2}}}]]{{#if:{{{3|}}}|[[{{{3}}}]]}}{{#if:{{{4|}}}|[[{{{4}}}]]}}
{{!}}<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 =
}}</div>
{{!}}}
</div>
|}</includeonly><noinclude>{{Documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
}}<noinclude>{{Documentation}}[[Category:Navigation templates|{{PAGENAME}}]][[Category:General wiki templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:00, 23 February 2019

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?)