Template:ITN candidate: Difference between revisions

Content deleted Content added
Reduce WP:PEIS
implemented templatestyles
 
(2 intermediate revisions by one other user not shown)
Line 1:
<templatestyles src="ITN candidate/styles.css"/>
<!-- background and border --><div styleclass="background-color:ITNCandidate {{#if:{{yesno|{{{ITNR|no}}}}}
|<!--yes--> #E6FFE6ITNCandidate-ITNR
|<!--no-->{{#if:{{yesno|{{{recent deaths|no}}}}}
|<!--yes-->#FFFFE6ITNCandidate-RD
|<!--no-->{{#switch:{{{ongoing}}}
|add=#F2CEECITNCandidate-ongoing-add
|rem=#CECEF2ITNCandidate-ongoing-rem
|ITNCandidate-default}}}}}}">
|#e6f2ff}}}}}}; border:1px solid #a3b1bf; padding: 6px; height:auto; overflow:auto;">
<!-- image -->{{#if:{{{image|}}}|<templatestyles src="Main page image/ITN/styles.css"/><div role="figure" class="itn-img">
{{main page image|image={{{image}}}|border=|width={{#if:{{{width|}}}|{{{width|}}}|{{#invoke:Main_page_image|width|{{PAGENAME:{{{image}}}}}}}}}|title=Proposed image|alt=|caption={{#if:{{{caption|}}}|{{{caption}}}}}|caption align=|link=}}
|{{Main page image/ITN
</div>}}<!-- article nominations -->'''Article{{#if:{{{article2|}}}|s}}:'''&nbsp;{{#if:{{{article|}}}
|image = {{{image}}}
|width = {{{width|}}}
|caption = {{{caption|}}}
|title = Proposed image
|border = no
}}
}}<!-- article nominations -->{{#if:{{{article2|}}}
|'''Articles:'''
|'''Article:'''
}}&nbsp;{{#if:{{{article|}}}
|<span class="anchor" id="{{{article}}}"></span><span class="anchor" id="RD: {{{article}}}"></span>{{ITN candidate/article|{{{article}}}}}{{#if:{{{article2|}}}
|&#32;and {{ITN candidate/article|{{{article2}}}}}