Template:Template orphanage row/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{Documentation}} Formats rows for tables used in RS:Gallery/Templates and sneakily transcludes the template in question in a way that lists it as used but doesn't actually insert it into the transcluding page. ==Usage== <pre>{{Template orphanage row|Template|Description}}</pre> If calling the template with no parameters would have undesirable side effects (such as script errors or adding wanted mw.pages), the <code>call</code> parameter can...") |
No edit summary |
||
Line 5: | Line 5: | ||
<pre>{{Template orphanage row|Template|Description}}</pre> |
<pre>{{Template orphanage row|Template|Description}}</pre> |
||
If calling the template with no parameters would have undesirable side effects (such as script errors or adding [[Special:WantedPages|wanted |
If calling the template with no parameters would have undesirable side effects (such as script errors or adding [[Special:WantedPages|wanted pages]]), the <code>call</code> parameter can be used to specify how it should be called. For example: |
||
<pre>{{Template orphanage row|Rfd|call={{Rfd|{{PAGENAME}}}}}}</pre> |
<pre>{{Template orphanage row|Rfd|call={{Rfd|{{PAGENAME}}}}}}</pre> |
Latest revision as of 13:01, 17 October 2024
Formats rows for tables used in RS:Gallery/Templates and sneakily transcludes the template in question in a way that lists it as used but doesn't actually insert it into the transcluding page.
Usage
{{Template orphanage row|Template|Description}}
If calling the template with no parameters would have undesirable side effects (such as script errors or adding wanted pages), the call
parameter can be used to specify how it should be called. For example:
{{Template orphanage row|Rfd|call={{Rfd|{{PAGENAME}}}}}}