Difference between revisions of "Template:Portal"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(fix 4th param as per talk page request)
Line 1: Line 1:
 +
{{#if:{{{2|}}}|{{Portal box|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}}}|
 
<div class="noprint {{#ifeq:{{{left|}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px;margin:{{#if:{{{margin|}}}
 
<div class="noprint {{#ifeq:{{{left|}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px;margin:{{#if:{{{margin|}}}
 
  |{{{margin|}}}
 
  |{{{margin|}}}
Line 7: Line 8:
 
}};">
 
}};">
 
<table style="background:#f9f9f9; font-size:85%; line-height:110%; max-width:175px; {{#if:{{{boxsize|}}}
 
<table style="background:#f9f9f9; font-size:85%; line-height:110%; max-width:175px; {{#if:{{{boxsize|}}}
  |width:{{{boxsize|}}px;
+
  |width:{{{boxsize|}}}px;
 
}}">
 
}}">
 
<tr><td>[[Image:{{{image|{{#ifexist:Template:Portal/Images/{{ucfirst:{{lc:{{{name|{{{1|{{PAGENAME}} }}} }}} }} }}
 
<tr><td>[[Image:{{{image|{{#ifexist:Template:Portal/Images/{{ucfirst:{{lc:{{{name|{{{1|{{PAGENAME}} }}} }}} }} }}
Line 21: Line 22:
 
}}portal]]'''''
 
}}portal]]'''''
 
</td></tr>
 
</td></tr>
</table>{{#if:{{{2|}}}|[[Category:Templates with transitional syntax|2{{PAGENAME}}]]}}
+
</table>
</div><noinclude>
+
</div>}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:53, 6 October 2011