IsContent
Talk0
5,033pages on
this wiki
this wiki
Template page
{{isContent}} is a local-use template created on some wiki with custom namespaces to extend the definition of Content pages used in templates like {{Content only}}. When transcluded into a page; It should return blank, or whatever is inside the first parameter passed if specified when not on a content page. And it should return 1 when it is on a content page.
Usage
Edit
{{isContent|default}}
- default is the value that should be outputted when not on a content page. When not given the template returns blank.