Difference between revisions of "Template:Essay"

m (Updating)
m
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| type      = notice
 
| type      = notice
 
| image    = [[File:file-document.svg|30px]]
 
| image    = [[File:file-document.svg|30px]]
| text       = <div style="padding-top: 6px; padding-bottom: 5px;">'''This is an [[BattleTechWiki:Essay|essay]]{{#if:{{{interprets|}}}|<nowiki> </nowiki>on {{#ifexist:{{{interprets}}}|[[{{{interprets}}}]]|{{{interprets|}}} }} }}.'''<br /><div style="font-size: 90%;">It contains the advice or opinions of one or more BattleTechWiki contributors. This page is not an encyclopedia article, nor is it one of [[BattleTechWiki:Policies and guidelines|BattleTechWiki's policies or guidelines]], as it has not been [[BattleTechWiki:Consensus|thoroughly vetted by the community]]. Some essays represent widespread norms; others only represent minority viewpoints.</div></div>
+
| text     = <div style="padding-top: 6px; padding-bottom: 5px;">'''This is an [[BattleTechWiki:Essay|essay]]{{#if:{{{interprets|}}}|<nowiki> </nowiki>on {{#ifexist:{{{interprets}}}|[[{{{interprets}}}]]|{{{interprets|}}} }} }}.'''</div><div style="font-size: 90%;">It contains the advice or opinions of one or more BattleTechWiki contributors. This page is not an encyclopedia article, nor is it one of [[BattleTechWiki:Policies and guidelines|BattleTechWiki's policies or guidelines]], as it has not been [[BattleTechWiki:Consensus|thoroughly vetted by the community]]. Some essays represent widespread norms; others only represent minority viewpoints.</div>
{{#ifeq:{{{demo}}}|yes||<includeonly>{{#switch:{{NAMESPACE}}
+
}}
  |{{ns:2}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{PAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{PAGENAME}}]]|{{{category|{{{cat|[[Category:User Essays|{{SUBPAGENAME}}]]}}}}}} }} }}
+
{{#if: {{{nocat|{{{demo|}}}}}}||<includeonly>{{Namespace detect
  |{{ns:0}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{{category|{{{cat|[[Category:BattleTechWiki Essays|{{SUBPAGENAME}}]]}}}}}} }} }}
+
                | battletechwiki = {{{category|[[Category:BattleTechWiki Essays|{{#if:{{{sort-by|}}}|{{{sort-by}}}|{{PAGENAME}}}}]]}}}
}}</includeonly>}}}}
+
                | main      = {{{category|[[Category:BattleTech Essays|{{#if:{{{sort-by|}}}|{{{sort-by}}}|{{PAGENAME}}}}]]}}}
<noinclude>
+
                | help      = {{{category|[[Category:How-to|{{#if:{{{sort-by|}}}|{{{sort-by}}}|{{PAGENAME}}}}]]}}}
 +
                | user      = [[Category:User Essays]]{{{category|}}}
 +
                | information = {{{category|[[Category:BattleTechWiki Essays|{{#if:{{{sort-by|}}}|{{{sort-by}}}|{{PAGENAME}}}}]]}}}
 +
}}</includeonly>}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 20:46, 6 April 2024