Difference between revisions of "Template:Documentation"
From Nookipedia, the Animal Crossing wiki
Decomposer (talk | contribs) (Added bar to separate Template documentation from the actual documentation; changed colors a bit) |
Decomposer (talk | contribs) (Removed text-align property (doesn't work, and is irrelevant)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifexist: {{FULLPAGENAME}}/doc | <includeonly>{{#ifexist: {{FULLPAGENAME}}/doc | ||
|<div class="boilerplate" style="background-color: #F5F5F5; padding: 10px 10px 10px 10px; border: 1px solid #C0C0C0;"> | |<div class="boilerplate" style="background-color: #F5F5F5; padding: 10px 10px 10px 10px; border: 1px solid #C0C0C0;"> | ||
− | <span style="font-size:large; font-weight:bold | + | <span style="font-size:large; font-weight:bold">Template documentation</span> ([[{{FULLPAGENAME}}/doc|view]]) |
---- | ---- | ||
{{:{{FULLPAGENAME}}/doc}}</div> | {{:{{FULLPAGENAME}}/doc}}</div> |
Revision as of 06:21, April 17, 2019
Template documentation (view)
Usage
{{Documentation|<page title>}}
This template exists to include documentation of a particular template using the doc
subpage. Adding {{Documentation}}
in, for example, Template:Notice Box effectively transcludes Template:Notice Box/doc.