Template:Template orphanage row/doc: Difference between revisions

From RuneRealm Wiki
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 mw.pages]]), the <code>call</code> parameter can be used to specify how it should be called. For example:
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

This is a documentation subpage for Template:Template orphanage row.
It contains usage information, categories, and other content that is not part of the original template page.

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}}}}}}