Difference between revisions of "Template:Civility essay"

From blackwiki
Jump to navigation Jump to search
imported>Atón
(made dependent of {{tl|essay}})
imported>SMcCandlish
(smarter category handling)
Line 1: Line 1:
{{essay|interprets=[[Wikipedia:Civility|civility]]|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}<noinclude>{{doc|content=
+
{{essay|interprets=[[Wikipedia:Civility|civility]]|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
 +
{{#ifeq:{{{demo}}}|yes||<includeonly>{{#switch:{{NAMESPACE}}
 +
  |{{ns:4}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{PAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{PAGENAME}}]]|{{{category|{{{cat|[[Category:Wikipedia civility essays|{{PAGENAME}}]]}}}}}} }} }}
 +
  |{{ns:2}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{{category|{{{cat|[[Category:User essays on civility|{{SUBPAGENAME}}]]}}}}}} }} }}
 +
}}</includeonly>}}<noinclude>
 +
{{doc|content=
 
A wrapper around {{tl|essay}} that sets the <tt>interprets</tt> parameter. See the documentation for {{tlf|essay}} for more information on the other parameters.
 
A wrapper around {{tl|essay}} that sets the <tt>interprets</tt> parameter. See the documentation for {{tlf|essay}} for more information on the other parameters.
 +
 
[[Category:Wikipedia essay templates]]
 
[[Category:Wikipedia essay templates]]
  
 
}}</noinclude>
 
}}</noinclude>
<includeonly>{{{category|[[Category:Wikipedia behavioral essays|{{PAGENAME}}]]}}}</includeonly>
 

Revision as of 21:27, 14 December 2017

50px Template documentation

A wrapper around {{essay}} that sets the interprets parameter. See the documentation for {{essay}} for more information on the other parameters.