(Created page with "{{#if: {{{1|}}} |<ul><li>'''{{{1}}}''' {{#if: {{{d1|}}} | {{{d1}}} }}</li>}}{{ #if: {{{2|}}} |<li>'''{{{2}}}''' {{#if: {{{d2|}}} | {{{d2}}} }}</li>}}{{ #if: {{{3|}}} |<li>'''{{{3...") |
(time for documentation) |
||
Line 10: | Line 10: | ||
#if: {{{10|}}} |<li>'''{{{10}}}''' {{#if: {{{d10|}}} | {{{d10}}} }}</li>}}{{ | #if: {{{10|}}} |<li>'''{{{10}}}''' {{#if: {{{d10|}}} | {{{d10}}} }}</li>}}{{ | ||
#if: {{{1|}}} |</ul>}} | #if: {{{1|}}} |</ul>}} | ||
<noinclude>{{Documentation}}</noinclude> |
Revision as of 20:34, 17 February 2011
[edit] [ ] Template documentation
This template is used to create a parameter list. A separator displayed between the name of the parameter and its description can be optionally defined with the sep parameter. Setting the optional parameter highlight to no it is possible to display the parameter's name not in bold.
{{Parmdesc |name1|d1=description 1 |name2|d2=description 2 |name3|d3=description 3 }}
will result in
- name1 description 1
- name2 description 2
- name3 description 3
{{Parmdesc |sep=: |name1|d1=description 1 |name2|d2=description 2 |name3|d3=description 3 }}
will result in
- name1 description 1
- name2 description 2
- name3 description 3
Please note that in order to use the colon as separator its html entity :
must be used.
{{Parmdesc |sep=: |highlight=no |name1|d1=description 1 |name2|d2=description 2 |name3|d3=description 3 }}
will result in
- name1 description 1
- name2 description 2
- name3 description 3
The above documentation is transcluded from Template:Parmdesc/doc. (edit | history) Editors can experiment in this template's sandbox (edit) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |