Difference between revisions of "Template:Portal"

From Self-sufficiency
Jump to: navigation, search
m (1 revision: Digital circuits (Import from Wikipedia))
m (Changed protection level of Template:Portal: Highly visible template: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
Line 1: Line 1:
{{#if:{{{2|}}}|{{Portal box|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}}}|
+
<includeonly>{{#invoke:Portal|portal}}</includeonly><noinclude>
<div class="noprint {{#ifeq:{{{left|}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px;margin:{{#if:{{{margin|}}}
+
|{{{margin|}}}
+
|{{#ifeq:{{{left|}}}|yes
+
  |0.5em 0.5em 0.5em 0
+
  |0.5em 0 0.5em 0.5em
+
}}
+
}};">
+
<table style="background:#f9f9f9; font-size:85%; line-height:110%; max-width:175px; {{#if:{{{boxsize|}}}
+
|width:{{{boxsize|}}}px;
+
}}">
+
<tr><td>[[Image:{{{image|{{#ifexist:Template:Portal/Images/{{ucfirst:{{lc:{{{name|{{{1|{{PAGENAME}} }}} }}} }} }}
+
|{{Portal/Images/{{ucfirst:{{lc:{{{name|{{{1|{{PAGENAME}}}}}}}}}}}}}}
+
|{{Portal/Images/Default}}
+
}} }}}|{{#if:{{{size|}}}
+
|{{{size|}}}px
+
|x{{{height|28}}}px
+
}}{{#ifeq:{{{link|File:}}}|File:||{{!}}link={{{link|}}}}}{{#ifeq:{{{alt|¬}}}|¬||{{!}}alt={{{alt|}}}}}]]
+
</td><td style="padding:0 0.2em;">'''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}{{#ifeq:{{{break|}}}|yes
+
|<br />
+
|&#32;
+
}}portal]]'''''
+
</td></tr>
+
</table>
+
</div>}}<noinclude>
+
 
{{documentation}}
 
{{documentation}}
 +
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata -->
 
</noinclude>
 
</noinclude>

Revision as of 07:37, 24 November 2013