Template:ContentSquare: Difference between revisions
From The Coffin of Andy and Leyley
(Only render non-documentation content on include.) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{|align="center" style="text-align:center; margin-bottom:5px; overflow: hidden | <includeonly>{|align="center" class="contentsquare" style="text-align:center; margin-bottom:5px; overflow: hidden; background-color:transparent; | ||
|<div style="position: relative; overflow: hidden; width: 150px; height: 150px;">[[Image:{{{image}}}|150px|{{{articlename|{{{name}}}}}}|link={{{articlename|{{{name}}}}}}]]</div | |<div style="border:2px solid #323232; position: relative; overflow: hidden; width: 150px; height: 150px;">[[Image:{{{image}}}|150px|{{{articlename|{{{name}}}}}}|link={{{articlename|{{{name}}}}}}]]</div>[[{{{articlename|{{{name}}}}}}|'''{{{name}}}''']] | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>{{documentation}}[[Category:Templates]]</noinclude> | <noinclude>{{documentation}}[[Category:Templates]]</noinclude> |
Latest revision as of 00:23, 3 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[edit]
To use this template, copy the following code and fill in the appropriate fields. To add a field, use Template:ContentSquare.
Syntax[edit]
{{ContentSquare|name=Example|image=Example.jpg}}