Difference between revisions of "Template:Portal"
Wikisimpsons - The Simpsons Wiki
m (→Additional Fields: Removing PAGENAME in category, replaced: {{PAGENAME}} → Category:Templates) |
|||
Line 37: | Line 37: | ||
</pre> | </pre> | ||
− | [[Category:Templates | + | [[Category:Templates]] |
</noinclude><div align="{{#if:{{{Align|}}}|{{{Align}}}|center}}"><table style="{{#if:{{#if:{{{Color|}}}|{{{Color}}}}}|background-color:{{#if:{{{Color|}}}|{{{Color}}}}}; {{#if:{{#if:{{{Rounded|}}}|{{{Rounded}}}}}|-moz-border-radius:10px;}}}}"><tr><!-- | </noinclude><div align="{{#if:{{{Align|}}}|{{{Align}}}|center}}"><table style="{{#if:{{#if:{{{Color|}}}|{{{Color}}}}}|background-color:{{#if:{{{Color|}}}|{{{Color}}}}}; {{#if:{{#if:{{{Rounded|}}}|{{{Rounded}}}}}|-moz-border-radius:10px;}}}}"><tr><!-- | ||
Latest revision as of 15:23, March 13, 2012
Welcome! | |||
---|---|---|---|
Welcome to the Portal Template. This template allows a quick and easy way to feature a table of objects with images that link to the objects.
Usage[edit]
Standard Syntax[edit]
{{Portal |Box1 = [[Link|Name]] ; Image |Box2 = [[Link|Name]] ; Image |Box3 = [[Link|Name]] ; Image |Box4 = [[Link|Name]] ; Image }}
Notes[edit]
- Up to 8 boxes are allowed, boxes 5-8 are on the second line.
- The Caption field, as well as the Header field, are both limited to a maximum of 10 wiki-links. More than that, and the text is cut off.
- [['s and ]]'s are not needed in the ImageLink field.
Additional Fields[edit]
|Align = Center (default), Left, Right |Image Size = Changes the size of all images by pixel. Can be entered as a number or numberpx. |Header = Adds text to the header (maximum of 10 links within) |Color = Changes the background color of the entire section (Default: White) |Font Color = Changes the non-linked font color (Default: Black) |Link Color = Changes the linked font color (Default: Normal Link Colors) |Rounded = Adds rounded corners to the entire section (Add any text to this field to accomplish this) |NoBorder = Removes the rectangular border around each box (Add any text to this field to accomplish this)