Template:Template category: Difference between revisions
From WikiMD's Wellness Encyclopedia
m 1 revision imported |
en>The wub invert image in dark mode |
||
| Line 3: | Line 3: | ||
| type = notice | | type = notice | ||
| style = padding-bottom:0.5em; | | style = padding-bottom:0.5em; | ||
| image = {{#ifeq:{{{type|}}}|module|[[File:Lua-logo-nolabel.svg|44px|Lua logo|alt=Lua logo|link=]]|[[File:Curly Brackets.svg|44px|Template braces|alt=|link=]]}} | | image = {{#ifeq:{{{type|}}}|module|[[File:Lua-logo-nolabel.svg|44px|Lua logo|alt=Lua logo|link=]]|[[File:Curly Brackets.svg|44px|Template braces|alt=|link=|class=skin-invert]]}} | ||
| text = <div style="width:98%;"><!-- | | text = <div style="width:98%;"><!-- | ||
| Line 13: | Line 13: | ||
(type/)topic/description | (type/)topic/description | ||
-->{{#if:{{{topic|}}}{{{description|}}} | -->{{#if:{{{topic|}}}{{{description|}}} | ||
| <div style="background:# | | <div style="background-color: var(--background-color-content-added, #a3d3ff); color: inherit; line-height:1.5em;border:1px solid #aaa;font-size:120%;padding:0.35em;"> <!-- | ||
-->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar|stub|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.''' {{{1|}}}{{{description|}}} | -->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar|stub|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.''' {{{1|}}}{{{description|}}} | ||
| <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div> | | <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div> | ||
| Line 83: | Line 83: | ||
-->{{#if: {{{topic|}}}{{{description|}}}<!-- | -->{{#if: {{{topic|}}}{{{description|}}}<!-- | ||
-->|<!-- # We have a topic/description, so all ok | -->|<!-- # We have a topic/description, so all ok | ||
-->|[[Category: | -->|[[Category:Wikipedia template categories with no topic or description]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}} | -->}} | ||
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} | }}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:14}} | ||
| {{#if: {{{category|}}} | {{{category}}} | {{#ifeq: {{{type|}}} | module | [[Category:Wikipedia module categories]] | [[Category:Wikipedia template categories]] }} }} }}</includeonly><noinclude> | | {{#if: {{{category|}}} | {{{category}}} | {{#ifeq: {{{type|}}} | module | [[Category:Wikipedia module categories]] | [[Category:Wikipedia template categories]] }} }} }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 23:48, 15 February 2025