Changes

Template:Template example row/doc

1,070 bytes added, 00:18, 8 February 2020
Created page with "{{documentation subpage}} This template generates a table of examples for use in template documentation. == Usage == <pre> <table class="wikitable"> {{template example..."
{{documentation subpage}}
This template generates a table of examples for use in template documentation.

== Usage ==
<pre>
<table class="wikitable">
&#123;{template example row|arg1}&#125;
&#123;{template example row|arg1|arg2|arg3}&#125;
&#123;{template example row|arg1|arg2|arg3|arg4|arg5}&#125;
</table>

<table class="wikitable">
&#123;{template example row|arg1|notes=...}&#125;
&#123;{template example row|arg1|arg2|arg3|notes=...}&#125;
&#123;{template example row|arg1|arg2|arg3|arg4|arg5|notes=...}&#125;
</table>

<table class="wikitable">
&#123;{template example row|template=templatename/subpage|arg1}&#125;
&#123;{template example row|template=templatename/subpage|arg1|arg2|arg3}&#125;
&#123;{template example row|template=templatename/subpage|arg1|arg2|arg3|arg4|arg5}&#125;
</table>
</pre>

It doesn't support named arguments to the example template yet.

== See also ==
* {{tl|Template example bullet}}
* {{tl|Tbulletp}}
* {{tl|Code example}}

<includeonly>
[[Category:Template namespace templates|Template example row]]

</includeonly>