From WikiChip
Difference between revisions of "Template:ArgsList"
Line 1: | Line 1: | ||
− | {{#if: {{{1|}}}| <span style="{{{style|{{{style1|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{1}}}'''</span> {{{2}}} | <nowiki />}}<!-- | + | <includeonly>{{#if: {{{1|}}}| <span style="{{{style|{{{style1|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{1}}}'''</span> {{{2}}} | <nowiki />}}<!-- |
-->{{#if: {{{3|}}}| <br /><span style="{{{style|{{{style2|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{3}}}'''</span> {{{4}}} | <nowiki />}}<!-- | -->{{#if: {{{3|}}}| <br /><span style="{{{style|{{{style2|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{3}}}'''</span> {{{4}}} | <nowiki />}}<!-- | ||
-->{{#if: {{{5|}}}| <br /><span style="{{{style|{{{style3|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{5}}}'''</span> {{{6}}} | <nowiki />}}<!-- | -->{{#if: {{{5|}}}| <br /><span style="{{{style|{{{style3|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{5}}}'''</span> {{{6}}} | <nowiki />}}<!-- | ||
Line 9: | Line 9: | ||
-->{{#if: {{{17|}}}| <br /><span style="{{{style|{{{style9|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{17}}}'''</span> {{{18}}} | }}<!-- | -->{{#if: {{{17|}}}| <br /><span style="{{{style|{{{style9|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{17}}}'''</span> {{{18}}} | }}<!-- | ||
-->{{#if: {{{19|}}}| <br /><span style="{{{style|{{{style10|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{19}}}'''</span> {{{20}}} | }}<!-- | -->{{#if: {{{19|}}}| <br /><span style="{{{style|{{{style10|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{19}}}'''</span> {{{20}}} | }}<!-- | ||
− | -->{{#if: {{{21|}}}| <br /><span style="{{{style|{{{style11|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{21}}}'''</span> {{{22}}} | }} | + | -->{{#if: {{{21|}}}| <br /><span style="{{{style|{{{style11|display: inline-block;}}}}}} min-width: {{{mwidth|100px}}}; {{#if {{{width|}}} | width: {{{width}}} | }}">'''{{{21}}}'''</span> {{{22}}} | }}</includeonly><noinclude>{{ArgsList/Doc}} |
+ | </noinclude><noinclude>[[Category:templates]]</noinclude> |
Revision as of 13:17, 30 June 2014
Template documentation
A simple way to create consistent argument lists.
Usage
{{ArgsList |width = width |arg1 | description1 |arg2 | description2 |arg3 | description3 |argN... | descriptionN... }}
Example
{{ArgsList |arg1 | description1 |arg2 | description2 |arg3 | description3 |argN... | descriptionN... }} | arg1 description1 arg2 description2 arg3 description3 argN... descriptionN... |