Template:CharacterCircle: Difference between revisions
From The Coffin of Andy and Leyley
m (Unset border-collapse (fixes squaredness)) |
(wrap in div) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{|align="center" style="text-align:center; border-radius:50%; margin-bottom:5px; overflow: hidden; border:2px solid #323232; border-collapse: | <includeonly><div id="character-circle"> | ||
{|align="center" style="text-align:center; border-radius:50%; margin-bottom:5px; overflow: hidden; border:2px solid #323232; border-collapse: revert; | |||
|<div style="border-radius: 5px; padding: 0px; position: relative; overflow: hidden; width: 150px; height: 150px;">[[Image:{{{image}}}|150px|{{{articlename|{{{name}}}}}}|link={{{articlename|{{{name}}}}}}]]</div> | |<div style="border-radius: 5px; padding: 0px; position: relative; overflow: hidden; width: 150px; height: 150px;">[[Image:{{{image}}}|150px|{{{articlename|{{{name}}}}}}|link={{{articlename|{{{name}}}}}}]]</div> | ||
|} | |} | ||
Line 5: | Line 6: | ||
|[[{{{articlename|{{{name}}}}}}|'''{{{name}}}''']] | |[[{{{articlename|{{{name}}}}}}|'''{{{name}}}''']] | ||
|- | |- | ||
|}</includeonly> | |}</div></includeonly> | ||
<noinclude>{{documentation}}[[Category:Templates]]</noinclude> | <noinclude>{{documentation}}[[Category:Templates]]</noinclude> |
Latest revision as of 22:37, 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[edit]
To use this template, copy the following code and fill in the appropriate fields. To add a field, use Template:CharacterCircle.
Syntax[edit]
{{CharacterCircle|name=Example|image=Example.jpg}}