Difference between revisions of "Template:Corner"

From Heyuri Historical Society
Jump to navigationJump to search
(Created page with "<includeonly><div class="nomobile" style="position: fixed; z-index: 9001; pointer-events: none; {{#switch: {{{1}}} | tl | lt = top: 0; left: 0; | tr | rt = top: 0; right: 0; | br | rb = bottom: 0; right: 0; | bl | lb | #default = bottom: 0; left: 0; }} ">{{{2|{{{1}}}}}}</div></includeonly><noinclude> == Usage == <pre>{{corner|something for the bottom left}}</pre> <pre>{{corner|br|something for the bottom right}}</pre> <pre>{{corner|tl|something for the top left}}</pre>...")
 
Line 1: Line 1:
<includeonly><div class="nomobile" style="position: fixed; z-index: 9001; pointer-events: none;
<includeonly><div class="nomobile" style="position: fixed; z-index: 9001; pointer-events: none;
{{#switch: {{{1}}}
| tl
| lt = top: 0; left: 0;
| tr
| rt = top: 0; right: 0;
| br
| rb = bottom: 0; right: 0;
| bl
| lb
| #default = bottom: 0; left: 0; }}
">{{{2|{{{1}}}}}}</div></includeonly><noinclude>
<includeonly><div style="position: fixed; z-index: 9001; pointer-events: none;
{{#switch: {{{1}}}
{{#switch: {{{1}}}
| tl
| tl
Line 21: Line 33:
{{corner|br|something for the bottom right}}
{{corner|br|something for the bottom right}}
{{corner|tl|something for the top left}}
{{corner|tl|something for the top left}}
{{corner|tr|something for the top right}}
{{corner|tr|something for the top right}}</noinclude>
 
[[Category:Decorative Templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:56, 11 May 2022


Usage

{{corner|something for the bottom left}}
{{corner|br|something for the bottom right}}
{{corner|tl|something for the top left}}
{{corner|tr|something for the top right}}
something for the bottom left
something for the bottom right
something for the top left
something for the top right