Template:This is a: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Improved readability of the beginning of the template code) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#switch:{{{type|}}}|#default={{#switch:{{lc:{{{internal}}}}} | <onlyinclude><includeonly><!-- | ||
| 1 | -->{{#switch:{{{type|}}} | ||
| true = | |#default={{#switch:{{lc:{{{internal}}}}} | ||
| #default = {{main other|[[Category:Non-internal entity{{{suf|}}}]]}} | | 1 | ||
}}{{#if: {{{sprite|}}} | | true = | ||
| #default = {{main other|[[Category:Non-internal entity{{{suf|}}}]]}} | |||
}}{{#if: {{{sprite|}}} | |||
| [[File:{{#ifeq: {{{sprite}}} | |||
| 1 | |||
| {{{1|{{PAGENAME}}}}}.png | |||
}} | | {{{sprite}}}}}|left|link=]]}} | ||
|e2={{main other|[[Category:Non-internal entity{{{suf|}}}]]}} | |||
|e2={{main other|[[Category:Non-internal entity{{{suf|}}}]]}} | |e3={{main other|[[Category:Internal entities{{{suf|}}}]]}}}}<!-- | ||
|e3={{main other|[[Category:Internal entities{{{suf|}}}]]}}}}<!-- | |||
-->{{#if:{{{1|}}}|{{#if:{{{notitlechange|}}}||{{DISPLAYTITLE:{{Code|select=1|background=transparent|{{{1|}}}}}|noreplace}}}}{{Code|select=1|<!---->{{{1|}}}<!---->}}|{{#switch:{{{this|}}}|#default={{#switch:{{{suf|}}}|#default={{{this|This}}}|:ru={{{this|Это}}}|:zh-cn={{{this|这}}}}}|0=}} }}<!-- | -->{{#if:{{{1|}}}|{{#if:{{{notitlechange|}}}||{{DISPLAYTITLE:{{Code|select=1|background=transparent|{{{1|}}}}}|noreplace}}}}{{Code|select=1|<!---->{{{1|}}}<!---->}}|{{#switch:{{{this|}}}|#default={{#switch:{{{suf|}}}|#default={{{this|This}}}|:ru={{{this|Это}}}|:zh-cn={{{this|这}}}}}|0=}} }}<!-- | ||
Line 123: | Line 121: | ||
}}<!-- | }}<!-- | ||
-->{{ | -->{{main other|{{#switch:{{{type|}}} | ||
|e0=[[Category:Point Entities{{{suf|}}}]] | |e0=[[Category:Point Entities{{{suf|}}}]] | ||
|e1=[[Category:Point Entities{{{suf|}}}]] | |e1=[[Category:Point Entities{{{suf|}}}]] | ||
Line 129: | Line 127: | ||
|e3=[[Category:Brush Entities{{{suf|}}}]] | |e3=[[Category:Brush Entities{{{suf|}}}]] | ||
|e4=[[Category:Mesh Entities{{{suf|}}}]] | |e4=[[Category:Mesh Entities{{{suf|}}}]] | ||
|e5=[[Category:Path Entities{{{suf|}}}]]}}[[Category:Entities{{{suf|}}}]]}}</includeonly></onlyinclude> | |e5=[[Category:Path Entities{{{suf|}}}]] | ||
}}[[Category:Entities{{{suf|}}}]]}}</includeonly></onlyinclude> | |||
{{doc}} | {{doc}} | ||
<!-- Add categories to the /doc subpage, not here --> | <!-- Add categories to the /doc subpage, not here --> |
Revision as of 07:09, 24 January 2023
The above documentation is transcluded from Template:This is a/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.