Difference between revisions of "Template:See wikipedia documentation"
From Hgames Wiki
(Add more detailed statement) |
(Wrap all text inside {{msgbox}}) |
||
Line 1: | Line 1: | ||
− | This template's code was copied directly from Wikipedia. For more information, including more details on how to use this template in your articles, please see Wikipedia's [[wikipedia:{{{1}}}|{{{1}}}]] documentation.<noinclude> | + | {{Msgbox |
+ | |icon=notice | ||
+ | |border=#ccc | ||
+ | |background=whiteSmoke | ||
+ | |textcolor=#000 | ||
+ | |message=This template's code was copied directly from Wikipedia. For more information, including more details on how to use this template in your articles, please see Wikipedia's [[wikipedia:{{{1}}}|{{{1}}}]] documentation. | ||
+ | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:53, 4 October 2024
Template documentation (for the above template, sometimes hidden or invisible)
Contents
This template intended to be used by other template pages' documentation subpages. When you copy a template from Wikipedia in its entirety so that it can be used in the Hgames Wiki, at the bottom will always be a {{documentation}}
transclusion, which will generate a link to a documentation subpage. Instead of also having to also copy the documentation from Wikipedia into this subpage, simply use this template to insert an appropriate statement linking viewers to Wikipedia's documentation page.
Example
In a template's documentation subpage, add the following line:
{{see wikipedia documentation|Template:<name of template>}}
Visit Template:See wikipedia documentation/doc to edit this text! (How does this work?)