Template:IfMainNS

From Wiki Aventurica

Explanation

[edit source]

This template checks whether it is used in the main/article namespace. If yes, the code in the first parameter is executed, if no, the code in the second parameter is executed, if it exists.

{{IfMainNS|<code in ANS>}}
{{IfMainNS|<code in the ANS>|<code outside the ANS>}}

Appearance

[edit source]