Template:Dicon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="display: inline-block; vertical-align: middle; width: 100px; height: 100px; overflow: hidden; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);"> | <includeonly><span style="display: inline-block; vertical-align: middle; width: {{{2|100px}}}; height: {{{2|100px}}}; overflow: hidden; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);"> | ||
[[File:Portrait {{{1}}}.png|{{{2|100px}}}|style=width:100%;height:100%;object-fit:cover;]] | [[File:Portrait {{{1}}}.png|{{{2|100px}}}|style=width:100%;height:100%;object-fit:cover;]] | ||
</span> | </span></includeonly><noinclude>This template lets you turn Portrait.png into a diamond. The default size is 100px. | ||
Examples: | |||
<pre>{{Dicon|Volo}}</pre> | |||
{{Dicon|Volo}} | |||
<pre>{{Dicon|Minsc|40px}}</pre> | |||
{{Dicon|Minsc|40px}} |
Revision as of 19:39, 21 June 2024
This template lets you turn Portrait.png into a diamond. The default size is 100px.
Examples:
{{Dicon|Volo}}
{{Dicon|Minsc|40px}}