Template:Documentation subpage/doc: Difference between revisions
Jump to navigation
Jump to search
FaeriMagic (talk | contribs) mNo edit summary |
FaeriMagic (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<div class="documentation-subpage" style="border: 1px solid #ccc; background-color: #f9f9f9; padding: 1em; margin: 1em 0;"> | <div class="documentation-subpage" style="border: 1px solid #ccc; background-color: #f9f9f9; padding: 1em; margin: 1em 0;"> | ||
This is the <code>/doc</code> subpage of [[:Template:Documentation subpage]] | This is the <code>/doc</code> subpage of [[:Template:Documentation subpage]], which is used to display that the current page is a [[:Category:Documentation subpages|documentation subpage]] of a template. Any changes made here will reflect on the main template page.</div></noinclude> | ||
== Basic usage == | == Basic usage == | ||
Line 14: | Line 12: | ||
Below is a working example using a subpage at [[:Template:Documentation subpage/doc]]: | Below is a working example using a subpage at [[:Template:Documentation subpage/doc]]: | ||
{{Documentation subpage|Template:Documentation subpage}} | |||
[[Category:Documentation subpages]] | [[Category:Documentation subpages]] | ||
</noinclude> | </noinclude> |
Revision as of 06:38, 30 July 2025
This is the
/doc
subpage of Template:Documentation subpage, which is used to display that the current page is a documentation subpage of a template. Any changes made here will reflect on the main template page.Basic usage
<noinclude> {{Documentation subpage}} </noinclude>
Example
Below is a working example using a subpage at Template:Documentation subpage/doc:
This is the /doc
subpage of Template:Documentation subpage. Any changes made here will reflect on the main template page.