Template:Dicon: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<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%);">
<includeonly><span style="display: inline-block; width: 70px; height: 70px; overflow: hidden; transform: rotate(45deg); border: 3pt solid black;"><span style="display: inline-block; transform: rotate(-45deg); 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></includeonly><noinclude>This template lets you turn Portrait.png into a diamond. The default size is 100px.
</span></span></includeonly><noinclude>This template lets you turn Portrait.png into a diamond. The default size is 100px.


Examples:
Examples:
Line 11: Line 11:
<pre>{{Dicon|Boo|40px}}</pre>
<pre>{{Dicon|Boo|40px}}</pre>


{{Dicon|Boo|40px}} Boo will remember that
{{Dicon|Boo|320px}} Boo will remember that
 
 
<span style="display: block; width: 100%; height: 100%; transform: rotate(-45deg); overflow: hidden;clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)">
[[File:Portrait Viconia.png|100px|style=width:100%;height:100%;object-fit:cover;]]
</span>

Revision as of 21:35, 21 June 2024

This template lets you turn Portrait.png into a diamond. The default size is 100px.

Examples:

{{Dicon|Ketheric Thorm}}

style=width:100%;height:100%;object-fit:cover;

{{Dicon|Boo|40px}}

style=width:100%;height:100%;object-fit:cover; Boo will remember that


style=width:100%;height:100%;object-fit:cover;