Template:ContentSquare: Difference between revisions
From The Coffin of Andy and Leyley
(Created page with "{|align="center" style="text-align:center; margin-bottom:5px; overflow: hidden; border:2px solid #323232; background-color:#2d2d2d; |<div style="position: relative; overflow: hidden; width: 150px; height: 150px;">[[Image:{{{image}}}|150px|{{{articlename|{{{name}}}}}}|link={{{articlename|{{{name}}}}}}]]</div><div style="border:2px solid ; margin: 3px, 3px, 3px, 3px;">[[{{{articlename|{{{name}}}}}}|'''{{{name}}}''']]</div> |} <noinclude>{{documentation}}Category:Templat...") |
(Only render non-documentation content on include.) |
||
Line 1: | Line 1: | ||
{|align="center" style="text-align:center; margin-bottom:5px; overflow: hidden; border:2px solid #323232; background-color:#2d2d2d; | <includeonly>{|align="center" style="text-align:center; margin-bottom:5px; overflow: hidden; border:2px solid #323232; background-color:#2d2d2d; | ||
|<div style="position: relative; overflow: hidden; width: 150px; height: 150px;">[[Image:{{{image}}}|150px|{{{articlename|{{{name}}}}}}|link={{{articlename|{{{name}}}}}}]]</div><div style="border:2px solid ; margin: 3px, 3px, 3px, 3px;">[[{{{articlename|{{{name}}}}}}|'''{{{name}}}''']]</div> | |<div style="position: relative; overflow: hidden; width: 150px; height: 150px;">[[Image:{{{image}}}|150px|{{{articlename|{{{name}}}}}}|link={{{articlename|{{{name}}}}}}]]</div><div style="border:2px solid ; margin: 3px, 3px, 3px, 3px;">[[{{{articlename|{{{name}}}}}}|'''{{{name}}}''']]</div> | ||
|} | |}</includeonly> | ||
<noinclude>{{documentation}}[[Category:Templates]]</noinclude> | <noinclude>{{documentation}}[[Category:Templates]]</noinclude> |
Revision as of 18:13, 2 January 2024
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
To use this template, copy the following code and fill in the appropriate fields. To add a field, use Template:ContentSquare.
Syntax
{{ContentSquare|name=Example|image=Example.jpg}}