Anonymous

Template:PortalFlex: Difference between revisions

From Jenny Everywhere Wiki
m
Robot: Cosmetic changes
m (changing File/image/Image: to file: so that all pics are named the same and db maintenance is made easier - TIF run)
m (Robot: Cosmetic changes)
Line 2: Line 2:
|- align=right
|- align=right
|<div style="line-height: .8em; z-index: 8; text-align: right;">  
|<div style="line-height: .8em; z-index: 8; text-align: right;">  
|<includeonly>[[{{{articlename}}}|<span style="color:{{{tcolor|#2f2cb8}}};font-size:.8em;">'''''{{{displayname}}}'''''</span>]] {{#if:{{{serieslink|}}}{{{seriesdisplay|}}}|[[{{{serieslink}}}|<br><font color= "{{{tcolor|#000}}}" size="1">{{{seriesdisplay}}}</font>]]}}</includeonly><noinclude>words</noinclude>
|<includeonly>[[{{{articlename}}}|<span style="color:{{{tcolor|#2f2cb8}}};font-size:.8em;">'''''{{{displayname}}}'''''</span>]] {{#if:{{{serieslink|}}}{{{seriesdisplay|}}}|[[{{{serieslink}}}|<br /><font color= "{{{tcolor|#000}}}" size="1">{{{seriesdisplay}}}</font>]]}}</includeonly><noinclude>words</noinclude>
</div><div style="position: relative; top: 0px; left: 0px; z-index: 1"><includeonly>[[file:{{{image}}}|{{{height}}}x{{{width}}}px|{{{articlename}}}|link={{{articlename}}}]]</includeonly><noinclude>image</noinclude></div>
</div><div style="position: relative; top: 0px; left: 0px; z-index: 1"><includeonly>[[File:{{{image}}}|{{{height}}}x{{{width}}}px|{{{articlename}}}|link={{{articlename}}}]]</includeonly><noinclude>image</noinclude></div>
|}</onlyinclude>
|}</onlyinclude>


==Parameters==
== Parameters ==
;bgcolor
;bgcolor
:color of background
:color of background
Line 27: Line 27:
:example "The End of Time"  (compare to the article name used above)
:example "The End of Time"  (compare to the article name used above)


===optional params===
=== optional params ===
;tcolor
;tcolor
:text color of the link
:text color of the link
Line 42: Line 42:
:example: ''NSA''
:example: ''NSA''
::Note that you shouldn't use a prefix as a serieslink, as that's not helpful to the reader.  In fact, it's recommended that seriesdisplay=series, as new readers won't be familiar with our prefixes, like NSA
::Note that you shouldn't use a prefix as a serieslink, as that's not helpful to the reader.  In fact, it's recommended that seriesdisplay=series, as new readers won't be familiar with our prefixes, like NSA
{{lock}}[[category:Coding utility templates]]
{{lock}}[[Category:Coding utility templates]]
765,429

edits