Template:Parameters table: Difference between revisions
From Beyond These Stars Official Wiki
Made the name column nowrap |
Now uses the template doc template |
||
| Line 47: | Line 47: | ||
}} | }} | ||
</table></includeonly><noinclude> | </table></includeonly><noinclude> | ||
{{Template doc | |||
Formats a list of template parameters in a nice table for developer use. | |overview=Formats a list of template parameters in a nice table for developer use. | ||
|usage=Pass this to the <code>parameters</code> parameter on the [[Template:Template doc]]. | |||
= | |parameters={{Parameters_table | ||
{{Parameters_table | |||
| 1 | First parameter's name | | 1 | First parameter's name | ||
| 2 | First parameter's purpose | | 2 | First parameter's purpose | ||
| Line 61: | Line 59: | ||
| 30 | Fifteenth parameter's purpose | | 30 | Fifteenth parameter's purpose | ||
}} | }} | ||
|examples=This table was created with this template. | |||
This table was created with this template. | |copypasta=<pre>{{Parameters_table | ||
| first | purpose | |||
| second | purpose | |||
[[Category: Developer templates]] | | third | purpose | ||
| fourth | purpose | |||
| fifth | purpose | |||
}}</pre> | |||
|add_categories=[[Category: Developer templates]] | |||
}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 19:58, 12 September 2026
Formats a list of template parameters in a nice table for developer use.
Usage
Pass this to the parameters parameter on the Template:Template doc.
| Parameter | Purpose |
|---|---|
1 | First parameter's name |
2 | First parameter's purpose |
3 | Second parameter's name |
4 | Second parameter's purpose |
... | ... |
29 | Fifteenth parameter's name |
30 | Fifteenth parameter's purpose |
Examples
This table was created with this template.
Copypasta
{{Parameters_table
| first | purpose
| second | purpose
| third | purpose
| fourth | purpose
| fifth | purpose
}}


