Template:Portalskinsmall: Difference between revisions

From Wikizilla, the kaiju encyclopedia
Jump to navigationJump to search
m (1 revision imported: Importing templates...)
No edit summary
Line 1: Line 1:
<includeonly><div style="background-color:{{#switch:{{{color}}}|old=#960000;|#960000}}; border-radius: 5px; padding: 3px; width: 100px; position: relative;">{{sidecropsmall|height=75|width=100|position={{{position|0}}}|left={{{left|0}}}|image={{{image}}}|size={{{width|100}}}|link={{{articlename}}}}}[[{{{articlename}}}|<span style="background-color: {{#switch:{{{color}}}|old=#960000;|#960000}}; position: absolute; right: 0px; bottom: 0px; font-size: x-small; font-weight: bold; color: white; padding: 0 5px; border-radius: 5px 0; z-index: 3;">{{{name}}}</span>]]</div></includeonly><noinclude>For small pictures to links on the main page.{{documentation}}
<includeonly><div style="background-color:{{#switch:{{{color}}}|old=#960000;|#960000}}; border-radius: 5px; padding: 3px; width: 100px; position: auto;">{{sidecropsmall|height=75|width=100|position={{{position|0}}}|left={{{left|0}}}|image={{{image}}}|size={{{width|100}}}|link={{{articlename}}}}}[[{{{articlename}}}|<span style="background-color: {{#switch:{{{color}}}|old=#960000;|#960000}}; position: absolute; right: 0px; bottom: 0px; font-size: x-small; font-weight: bold; color: white; padding: 0 5px; border-radius: 5px 0; z-index: 3;">{{{name}}}</span>]]</div></includeonly><noinclude>For small pictures to links on the main page.{{documentation}}
</noinclude>
</noinclude>

Revision as of 03:36, 17 August 2016

For small pictures to links on the main page.

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used in the main page.
Dependencies
Syntax
{{Portalskinsmall}} somewhere.
Sample output
{{portalskinsmall|articlename=Godzilla|name=Godzilla|image=Godzilla.jpg}}
  • articlename represents the targeted article
  • name results in the displayed name
  • image defines the displayed image
Template rewritten by, original version by the Wikia Content Team.