Template:Template category: Difference between revisions

From IndicWiki Sandbox
m 1 revision imported
https://sandbox.indicwiki.org/index.php/>Izno
use a codex color here instead
Line 13: Line 13:
  (type/)topic/description
  (type/)topic/description
   -->{{#if:{{{topic|}}}{{{description|}}}
   -->{{#if:{{{topic|}}}{{{description|}}}
       | <div style="background:#d5e4ed;line-height:1.5em;border:1px solid #aaa;font-size:120%;padding:0.35em;"> <!--
       | <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}}}.'''&nbsp;{{{1|}}}{{{description|}}}
           -->{{#if:{{{topic|}}} |'''{{#switch:{{lc:{{{type}}}}} |navbox|navigation|navigational|infobox|sidebar|stub|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.'''&nbsp;{{{1|}}}{{{description|}}}
               | <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div>
               | <div><!--(in case 1/description begins with newline:)--> {{{1|}}}{{{description|}}} </div>

Revision as of 18:09, 9 December 2024