Template:Dmbox: Difference between revisions

From Leftypedia
Jump to navigation Jump to search
m (testing an icon.)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 17: Line 17:
     | disambig      <!-- disambig = default -->
     | disambig      <!-- disambig = default -->
     | #default = Religion-is-poison-test1.png
     | #default = Religion-is-poison-test1.png
     }}|30px|alt=Disambiguation icon]]
     }}|75px|alt=Disambiguation icon]]
   }}
   }}
}}<div class="dmbox-body">{{{text}}}</div>{{#if:{{{imageright|}}}|<div>{{{imageright}}}</div>}}
}}<div class="dmbox-body">{{{text}}}</div>{{#if:{{{imageright|}}}|<div>{{{imageright}}}</div>}}
Line 26: Line 26:
| disambig
| disambig
| setindex =    <!-- Do nothing, valid "type" -->
| setindex =    <!-- Do nothing, valid "type" -->
| #default = <div class="dmbox-invalid-type">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| #default = <div class="dmbox-invalid-type">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Leftypedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!--  
}}<!--  
   Magic word for disambiguation pages:
   Magic word for disambiguation pages:
-->{{#if:{{{nocat|}}}||{{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}}}}<!--  
--><!--SECTION COMMENTED OUT: {{#if:{{{nocat|}}}||{{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}}}}--><!--  
   Categorization:
   Categorization:
-->{{#switch:{{{type|}}}
-->{{#switch:{{{type|}}}
Line 41: Line 41:
| #default =  
| #default =  
   {{category handler
   {{category handler
   | main = [[Category:All article disambiguation pages]][[Category:All disambiguation pages]]
   | main = [[Category:Disambiguation pages]]
   | template =    <!-- Don't categorize on template pages. -->
   | template =    <!-- Don't categorize on template pages. -->
  | other = [[Category:All disambiguation pages]]
   | nocat = {{{nocat|}}}  <!--So "nocat=true" works-->
   | nocat = {{{nocat|}}}  <!--So "nocat=true" works-->
   | page = {{{page|}}}  <!--For testing-->
   | page = {{{page|}}}  <!--For testing-->

Latest revision as of 20:21, 28 August 2023