Difference between revisions of "Template:Find sources multi/doc/linktable/row"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(Add documentation)
imported>Mr. Stradivarius
(Add category)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|
+
{{#if: {{find sources multi/linkinfo|1={{{1|}}}|2=code}} |
 
<tr>
 
<tr>
<td><code>'''{{{1}}}'''</code></td>
+
<td><code>'''{{find sources multi/linkinfo|1={{{1}}}|2=code}}'''</code></td>
<td><code>{{#if: {{{2|}}} | '''{{{2}}}''' }}{{#if: {{{3|}}} | , '''{{{3}}}''' }}{{#if: {{{4|}}} | , '''{{{4}}}''' }}{{#if: {{{5|}}} | , '''{{{5}}}''' }}</code></td>
+
<td><code>{{#if: {{find sources multi/linkinfo|1={{{1}}}|2=alias1}} | '''{{find sources multi/linkinfo|1={{{1}}}|2=alias1}}''' }}{{#if: {{find sources multi/linkinfo|1={{{1}}}|2=alias2}} | , '''{{find sources multi/linkinfo|1={{{1}}}|2=alias2}}''' }}{{#if: {{find sources multi/linkinfo|1={{{1}}}|2=alias3}} | , '''{{find sources multi/linkinfo|1={{{1}}}|2=alias3}}''' }}{{#if: {{find sources multi/linkinfo|1={{{1}}}|2=alias4}} | , '''{{find sources multi/linkinfo|1={{{1}}}|2=alias4}}''' }}</code></td>
<td>{{find sources multi/{{{1}}}|1=Example}}</td>
+
<td>{{find sources multi/{{find sources multi/linkinfo|1={{{1}}}|2=code}} |1=Example}}</td>
<td>[[Template:Find sources multi/{{{1}}}]]</td>
+
<td>{{find sources multi/linkinfo|1={{{1}}}|2=se_description}}</td>
<td>{{{notes|}}}</td>
+
<td>[[Template:Find sources multi/{{find sources multi/linkinfo|1={{{1}}}|2=code}}]]</td>
 +
<td>{{find sources multi/linkinfo|1={{{1}}}|2=notes}}</td>
 
</tr>
 
</tr>
 
}}<noinclude>
 
}}<noinclude>
 +
{{documentation|content=
  
{{documentation|content=
+
This template is used in {{tl|Find sources multi/doc/linktable}} to generate the table rows. It takes only one positional parameter. This parameter can be either the subpage name of the link template (e.g. <code>gnews</code>), a value of ''linkn'' (<code>link1</code>, <code>link2</code>, etc.), or its alias ''ln''
 +
(<code>l1</code>, <code>l2</code>, etc.). These values are passed to {{tl|find sources multi/linkinfo}} to find the data for the table.
  
This template is used in {{tl|Find sources multi/doc}} to generate the row of links.
+
}}
* The first positional parameter is for the subpage name of the link template (e.g. <code>gnews</code>).
 
* A further four positional parameters are for any aliases of the link template (in other words the subpage name of pages that redirect to the link template).
 
* The {{para|notes}} parameter is for any notes about the link template.
 
  
}}</noinclude>
+
[[Category:Find sources multi subtemplates|{{PAGENAME}}]]
 +
</noinclude>

Latest revision as of 15:17, 15 March 2013

Template documentation

This template is used in {{Find sources multi/doc/linktable}} to generate the table rows. It takes only one positional parameter. This parameter can be either the subpage name of the link template (e.g. gnews), a value of linkn (link1, link2, etc.), or its alias ln (l1, l2, etc.). These values are passed to {{find sources multi/linkinfo}} to find the data for the table.