Difference between revisions of "Template:M1YearInTopic (no calendar)"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(add another example)
imported>Wbm1058
(fix to support Category:11 through Category:100)
 
Line 1: Line 1:
 
<includeonly>{{sidebar
 
<includeonly>{{sidebar
 
| titlestyle = font-size:100%
 
| titlestyle = font-size:100%
| title = {{#ifexist:Category:{{{1|{{PAGENAMEBASE}}}}}
+
| title = {{#ifexpr:{{replace|{{{1|{{PAGENAMEBASE}}}}}|AD|}} > 10 | {{#ifexpr:{{replace|{{{1|{{PAGENAMEBASE}}}}}|AD|}} > 100 |
 +
{{#ifexist:Category:{{{1|{{PAGENAMEBASE}}}}}
 +
  |[[:Category:{{{1|{{PAGENAMEBASE}}}}}|{{{1|{{PAGENAMEBASE}}}}} by topic]]
 +
  |{{{1|{{PAGENAMEBASE}}}}} by topic
 +
  }} |
 +
{{#ifexist:Category:{{replace|{{{1|{{PAGENAMEBASE}}}}}|AD|}}
 +
  |[[:Category:{{replace|{{{1|{{PAGENAMEBASE}}}}}|AD|}}|{{{1|{{PAGENAMEBASE}}}}} by topic]]
 +
  |{{{1|{{PAGENAMEBASE}}}}} by topic
 +
  }} }}|
 +
{{#ifexist:Category:{{{1|{{PAGENAMEBASE}}}}}
 
   |[[:Category:{{{1|{{PAGENAMEBASE}}}}}|{{{1|{{PAGENAMEBASE}}}}} by topic]]
 
   |[[:Category:{{{1|{{PAGENAMEBASE}}}}}|{{{1|{{PAGENAMEBASE}}}}} by topic]]
 
   |{{{1|{{PAGENAMEBASE}}}}} by topic
 
   |{{{1|{{PAGENAMEBASE}}}}} by topic
 
   }}
 
   }}
 
+
}}
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| headingstyle = background-color:#f3f3f3; font-weight:normal; font-style:italic
 
| headingstyle = background-color:#f3f3f3; font-weight:normal; font-style:italic
Line 29: Line 38:
  
 
{{M1YearInTopic (no calendar)|AD 100}}
 
{{M1YearInTopic (no calendar)|AD 100}}
 +
 +
 +
{{M1YearInTopic (no calendar)|AD 11}}
  
  
 
{{M1YearInTopic (no calendar)|AD 10}}
 
{{M1YearInTopic (no calendar)|AD 10}}
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 01:42, 10 March 2017

Template documentation

Examples