Editing Template:Docs/row/required
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<noinclude> |
<noinclude> |
||
− | Helper template to insert a required parameter row in an infobox template documentation page. |
+ | Helper template to insert a required parameter row in an infobox template documentation page. |
− | * <code>param</code>: The name of the parameter being documented |
||
− | * <code>desc</code>: A description of how the parameter is to be used |
||
− | * <code>eg</code>: One or more usage examples |
||
⚫ | |||
− | [[category: documentation templates|row]] |
||
− | |||
⚫ | |||
</noinclude> |
</noinclude> |
||
<!-- ROW STYLE --> |
<!-- ROW STYLE --> |
||
|- style="background:#FFDEAD;" |
|- style="background:#FFDEAD;" |
||
<!-- Parameter cell --> |
<!-- Parameter cell --> |
||
− | | style="text-align: center;" |
+ | | style="text-align: center;" | <code>{{{param}}}</code> |
<!-- Description cell --> |
<!-- Description cell --> |
||
| {{{desc}}} |
| {{{desc}}} |
||
<!-- Examples cell --> |
<!-- Examples cell --> |
||
− | | style="white-space: nowrap;" | |
+ | | style="white-space: nowrap;" | {{{eg}}} |
− | {{{eg}}} |
||
<!-- END OF ROW --> |
<!-- END OF ROW --> |
||
|- |
|- |
||
Line 23: | Line 17: | ||
|} |
|} |
||
+ | == Usage == |
||
− | == Templates with Required Parameters == |
||
− | {{ |
+ | {{special: whatlinkshere/{{FULLPAGENAME}} }} |
− | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=10}} |