Difference between revisions of "Template:Humorous essay"

From blackwiki
Jump to navigation Jump to search
imported>Soumya-8974
(Added more parameters from the Essay template.)
imported>Soumya-8974
 
Line 9: Line 9:
 
| imageright = {{#if:{{{shortcut|{{{shortcut1|{{{sc1|{{{sc|{{{1<includeonly>|</includeonly>}}}}}}}}}}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|{{{sc1|{{{sc|{{{1}}}}}}}}}}}}}}}|{{{shortcut2|{{{sc2|{{{2|}}}}}}}}}|{{{shortcut3|{{{sc3|{{{3|}}}}}}}}}|{{{shortcut4|{{{sc4|{{{4|}}}}}}}}}|{{{shortcut5|{{{sc5|{{{5|}}}}}}}}}<noinclude>|category=no</noinclude>}} }}
 
| imageright = {{#if:{{{shortcut|{{{shortcut1|{{{sc1|{{{sc|{{{1<includeonly>|</includeonly>}}}}}}}}}}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|{{{sc1|{{{sc|{{{1}}}}}}}}}}}}}}}|{{{shortcut2|{{{sc2|{{{2|}}}}}}}}}|{{{shortcut3|{{{sc3|{{{3|}}}}}}}}}|{{{shortcut4|{{{sc4|{{{4|}}}}}}}}}|{{{shortcut5|{{{sc5|{{{5|}}}}}}}}}<noinclude>|category=no</noinclude>}} }}
 
}}{{#ifeq:{{{demo}}}|yes||<includeonly>{{#switch:{{NAMESPACE}}
 
}}{{#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 essays|{{PAGENAME}}]]}}}}}} }} }}
+
   |{{ns:4}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{PAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{PAGENAME}}]]|{{{category|{{{cat|[[Category:Humorous Wikipedia essays|{{PAGENAME}}]]}}}}}} }} }}
 
   |{{ns:2}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{{category|{{{cat|[[Category:User essays|{{SUBPAGENAME}}]]}}}}}} }} }}
 
   |{{ns:2}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{{category|{{{cat|[[Category:User essays|{{SUBPAGENAME}}]]}}}}}} }} }}
 
}}</includeonly>}}}}
 
}}</includeonly>}}}}

Latest revision as of 05:30, 14 July 2020

Template:Topicon

Template documentation[view] [edit] [history] [purge]
Template:Subpage other

This template adds a box to the top of a humorous essay designating the essay as such. Per this RfC, it or another disclosure template must be used on all essays of this type.

Parameters

  • |demo=y suppresses the topicon. Do not use unless on a documentation page or similar.

Other parameters are similar to the {{Essay}}.

See also