Template:Portal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough
m Add diagnostics for named parameters.
Ookami (talk | contribs)
m 190 revisions imported
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div class="noprint {{#ifeq:{{{left|}}}|yes|tleft|tright}} portal" style="border:solid #aaa 1px;margin:{{#if:{{{margin|}}}
<includeonly>{{#invoke:Portal|portal}}</includeonly><noinclude>
|{{{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|{{{4|}}}}}}
|width:{{{boxsize|{{{4}}}}}}px;
}}">
<tr><td>[[Image:{{{image|{{{2|{{#ifexist:Template:Portal/Images/{{ucfirst:{{lc:{{{name|{{{1|{{PAGENAME}} }}} }}} }} }}
|{{Portal/Images/{{ucfirst:{{lc:{{{name|{{{1|{{PAGENAME}}}}}}}}}}}}}}
|{{Portal/Images/Default}}
}} }}} }}}|{{#if:{{{size|{{{3|}}}}}}
|{{{size|{{{3|32}}}}}}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>{{#if:{{{2|}}}|[[Category:Templates with transitional syntax|2{{PAGENAME}}]]}}{{#if:{{{alt|}}}|[[Category:Templates with transitional syntax|a{{PAGENAME}}]]}}{{#if:{{{name|}}}|[[Category:Templates with transitional syntax|n{{PAGENAME}}]]}}{{#if:{{{image|}}}|[[Category:Templates with transitional syntax|i{{PAGENAME}}]]}}{{#if:{{{left|}}}|[[Category:Templates with transitional syntax|l{{PAGENAME}}]]}}{{#if:{{{margin|}}}|[[Category:Templates with transitional syntax|m{{PAGENAME}}]]}}{{#if:{{{link|}}}|[[Category:Templates with transitional syntax|L{{PAGENAME}}]]}}
</div><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata -->
</noinclude>
</noinclude>

Latest revision as of 00:22, 2 September 2020