Template:PortalOmni: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Rbfskywalker (talk | contribs) (added template for character portals) |
m (Robot: Cosmetic changes) |
||
Line 4: | Line 4: | ||
{| cellspacing="0" cellpadding="1" style="background:{{{bgcolor|#ccc}}};-moz-border-radius-topleft:8px;" align="right" | {| cellspacing="0" cellpadding="1" style="background:{{{bgcolor|#ccc}}};-moz-border-radius-topleft:8px;" align="right" | ||
|<includeonly> <includeonly>[[{{{articlename}}}|<font color="{{{tcolor|black}}}" size="1">'''{{{name}}}'''</font>]] {{#if:{{{extraleft|}}}{{{extraright|}}}|<nowiki/> {{!}} ''[[{{{extraleft}}}|<font color="{{{tcolor|black}}}" size="1">'''{{{extraright}}}'''</font>]]''}}</includeonly><noinclude>words</noinclude> | |<includeonly> <includeonly>[[{{{articlename}}}|<font color="{{{tcolor|black}}}" size="1">'''{{{name}}}'''</font>]] {{#if:{{{extraleft|}}}{{{extraright|}}}|<nowiki/> {{!}} ''[[{{{extraleft}}}|<font color="{{{tcolor|black}}}" size="1">'''{{{extraright}}}'''</font>]]''}}</includeonly><noinclude>words</noinclude> | ||
|}</div><div style="position: absolute; top: 0px; left: 0px; z-index: 2"><includeonly>[[ | |}</div><div style="position: absolute; top: 0px; left: 0px; z-index: 2"><includeonly>[[File:{{{image}}}|122x90px|{{{articlename}}}|link={{{articlename}}}]]</includeonly><noinclude>image</noinclude></div></div> | ||
|}</onlyinclude> | |}</onlyinclude> | ||
==Parameters== | == Parameters == | ||
;bgcolor | ;bgcolor | ||
:color of background | :color of background | ||
Line 28: | Line 28: | ||
:example ''Aaron'' (compare to the article name used above) | :example ''Aaron'' (compare to the article name used above) | ||
===optional params=== | === optional params === | ||
;tcolor | ;tcolor | ||
:text color of the link | :text color of the link |
Revision as of 22:55, 30 January 2012
image |
Parameters
- bgcolor
- color of background
- example #30b7eb or red
- ecolor
- color of outer edge
- example: #30b7eb or red
- image
- file name of image to use, no namesapce
- example: Foo.jpg
- articlename
- fullpagename that the 'name' and the image will link to
- example
- Aaron Littleton
- name
- name of the person/persons/entity in the picture, what you want in the text at the bottom
- example Aaron (compare to the article name used above)
optional params
- tcolor
- text color of the link
- example: #c8d0d8 or white
- extraleft
- for templates that need to link to something after the name (ie, AF/'Off island' template), this is the pagename that you want to link to
- example: Portal:DHARMA Initiative
- note: if you wont want the text to link to anything, put in {{PAGENAME}}
- extraright
- for templates that need to link to something after the name (ie, AF/'Off island' template), this is the text that you want the link to say
- example: DHARMA