Template:PortalFlex: Difference between revisions

From Jenny Everywhere Wiki
No edit summary
m (62 revisions imported)
Tags: Mobile edit Mobile web edit
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{| style="background:{{{bgcolor|transparent}}}; border:1px solid {{{ecolor|transparent}}};-moz-border-radius:0px;"
<onlyinclude><div style="margin:auto">
|- align=right
{| style="background:{{{bgcolor|transparent}}}; border:1px solid {{{ecolor|transparent}}};-moz-border-radius:0px;"
|<div style="position: relative;  overflow: hidden; line-height: .8em; z-index: 8; text-align: right;">  
|- align=center
|<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 style="line-height: .8em; z-index: 8; text-align: right;">  
</div><div style="position: relative; top: 0px; left: 0px; z-index: 1"><includeonly>[[Image:{{{image}}}|{{{height}}}x{{{width}}}px|{{{articlename}}}|link={{{articlename}}}]]</includeonly><noinclude>image</noinclude></div>
|<includeonly>[[{{{articlename}}}|<span style="color:{{{tcolor|}}};font-size:.8em;">'''''{{{displayname}}}'''''</span>]] {{#if:{{{serieslink|}}}{{{seriesdisplay|}}}|[[{{{serieslink}}}|<br /><font color= "{{{tcolor|}}}" size="1">{{{seriesdisplay}}}</font>]]}}</includeonly><noinclude>words</noinclude>
|}</onlyinclude>
</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></onlyinclude>
==Parameters==
{{lock}}[[Category:Coding utility templates]]{{documentation}}
;bgcolor
:color of background
:example ''#30b7eb'' or ''red''
:''defaults to transparent
;ecolor
:color of outer edge
:example: ''#30b7eb'' or ''red''
:''defaults to transparent
;image
:file name of image to use, no namesapce
:example: ''Foo.jpg''
 
;articlename
:fullpagename that the 'name' and the image will link to
;example: ''The End of Time (TV story)''
 
;displayname
:name which is displayed to reader
:example "The End of Time"  (compare to the article name used above)
 
===optional params===
;tcolor
:text color of the link
:example: ''#c8d0d8'' or ''white''
 
 
;serieslink
:The fullpagename of the article about the series of which the articlename is a part
:example: ''New Series Adventures''
::note: if you don't want the text to link to anything, put in <nowiki>{{PAGENAME}}</nowiki>
 
;seriesdisplay
:The name of serieslink as displayed to the reader
: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
[[category:Coding utility templates]]

Latest revision as of 01:33, 13 August 2024

words
image

Template:Lock