Template:Parameter names example: Difference between revisions
Jump to navigation
Jump to search
>Sardanaphalus (Created template) |
>Sardanaphalus (includeonly) |
||
Line 1: | Line 1: | ||
<!----------------------------------------------------------------------------- | <!----------------------------------------------------------------------------- | ||
Template demonstration using each parameter name as that parameter's input | Template demonstration using each parameter name as that parameter's input | ||
------------------------------------------------------------------------------> | ------------------------------------------------------------------------------ | ||
{{#switch:{{{display|}}} | --><includeonly><!-- | ||
-->{{#switch:{{{display|}}} | |||
<!---------Parameter names in italics:---------> | |||
| italics | italic = | |||
{{ <!--(Start template transclusion. | |||
Unless specified by {{{template}}}, take {{BASEPAGENAME}} as the template's name:) | |||
-->{{#if:{{{template|}}} |{{{template}}} |{{BASEPAGENAME}}}} | |||
<!--(Template's parameters, using {{str letter/trim}} to remove any hanging spaces, newlines, etc:)--> | |||
| {{{1|}}}=''{{str letter/trim|{{{1|}}}}}'' |{{{2|}}}=''{{str letter/trim|{{{2|}}}}}'' |{{{3|}}}=''{{str letter/trim|{{{3|}}}}}'' |{{{4|}}}=''{{str letter/trim|{{{4|}}}}}'' |{{{5|}}}=''{{str letter/trim|{{{5|}}}}}'' |{{{6|}}}=''{{str letter/trim|{{{6|}}}}}'' |{{{7|}}}=''{{str letter/trim|{{{7|}}}}}'' |{{{8|}}}=''{{str letter/trim|{{{8|}}}}}'' |{{{9|}}}=''{{str letter/trim|{{{9|}}}}}'' |{{{10|}}}=''{{str letter/trim|{{{10|}}}}}'' |{{{11|}}}=''{{str letter/trim|{{{11|}}}}}'' |{{{12|}}}=''{{str letter/trim|{{{12|}}}}}'' |{{{13|}}}=''{{str letter/trim|{{{13|}}}}}'' |{{{14|}}}=''{{str letter/trim|{{{14|}}}}}'' |{{{15|}}}=''{{str letter/trim|{{{15|}}}}}'' |{{{16|}}}=''{{str letter/trim|{{{16|}}}}}'' |{{{17|}}}=''{{str letter/trim|{{{17|}}}}}'' |{{{18|}}}=''{{str letter/trim|{{{18|}}}}}'' |{{{19|}}}=''{{str letter/trim|{{{19|}}}}}'' |{{{20|}}}=''{{str letter/trim|{{{20|}}}}}'' |{{{21|}}}=''{{str letter/trim|{{{21|}}}}}'' |{{{22|}}}=''{{str letter/trim|{{{22|}}}}}'' |{{{23|}}}=''{{str letter/trim|{{{23|}}}}}'' |{{{24|}}}=''{{str letter/trim|{{{24|}}}}}'' |{{{25|}}}=''{{str letter/trim|{{{25|}}}}}'' |{{{26|}}}=''{{str letter/trim|{{{26|}}}}}'' |{{{27|}}}=''{{str letter/trim|{{{27|}}}}}'' |{{{28|}}}=''{{str letter/trim|{{{28|}}}}}'' |{{{29|}}}=''{{str letter/trim|{{{29|}}}}}'' |{{{30|}}}=''{{str letter/trim|{{{30|}}}}}'' |{{{31|}}}=''{{str letter/trim|{{{31|}}}}}'' |{{{32|}}}=''{{str letter/trim|{{{32|}}}}}'' |{{{33|}}}=''{{str letter/trim|{{{33|}}}}}'' |{{{34|}}}=''{{str letter/trim|{{{34|}}}}}'' |{{{35|}}}=''{{str letter/trim|{{{35|}}}}}'' |{{{36|}}}=''{{str letter/trim|{{{36|}}}}}'' |{{{37|}}}=''{{str letter/trim|{{{37|}}}}}'' |{{{38|}}}=''{{str letter/trim|{{{38|}}}}}'' |{{{39|}}}=''{{str letter/trim|{{{39|}}}}}'' |{{{40|}}}=''{{str letter/trim|{{{40|}}}}}'' |{{{41|}}}=''{{str letter/trim|{{{41|}}}}}'' |{{{42|}}}=''{{str letter/trim|{{{42|}}}}}'' |{{{43|}}}=''{{str letter/trim|{{{43|}}}}}'' |{{{44|}}}=''{{str letter/trim|{{{44|}}}}}'' |{{{45|}}}=''{{str letter/trim|{{{45|}}}}}'' |{{{46|}}}=''{{str letter/trim|{{{46|}}}}}'' |{{{47|}}}=''{{str letter/trim|{{{47|}}}}}'' |{{{48|}}}=''{{str letter/trim|{{{48|}}}}}'' |{{{49|}}}=''{{str letter/trim|{{{49|}}}}}'' |{{{50|}}}=''{{str letter/trim|{{{50|}}}}}'' |{{{51|}}}=''{{str letter/trim|{{{51|}}}}}'' |{{{52|}}}=''{{str letter/trim|{{{52|}}}}}'' |{{{53|}}}=''{{str letter/trim|{{{53|}}}}}'' |{{{54|}}}=''{{str letter/trim|{{{54|}}}}}'' |{{{55|}}}=''{{str letter/trim|{{{55|}}}}}'' |{{{56|}}}=''{{str letter/trim|{{{56|}}}}}'' |{{{57|}}}=''{{str letter/trim|{{{57|}}}}}'' |{{{58|}}}=''{{str letter/trim|{{{58|}}}}}'' |{{{59|}}}=''{{str letter/trim|{{{59|}}}}}'' |{{{60|}}}=''{{str letter/trim|{{{60|}}}}}'' |{{{61|}}}=''{{str letter/trim|{{{61|}}}}}'' | |||
}} <!--(end template transclusion)--> | |||
<!---------Parameter names in braces:---------> | |||
| braces | #default = | |||
{{ {{#if:{{{template|}}} |{{{template}}} |{{BASEPAGENAME}}}} | |||
| {{{1|}}}={{{{{str letter/trim|{{{1|}}}}}}}} |{{{2|}}}={{{{{str letter/trim|{{{2|}}}}}}}} |{{{3|}}}={{{{{str letter/trim|{{{3|}}}}}}}} |{{{4|}}}={{{{{str letter/trim|{{{4|}}}}}}}} |{{{5|}}}={{{{{str letter/trim|{{{5|}}}}}}}} |{{{6|}}}={{{{{str letter/trim|{{{6|}}}}}}}} |{{{7|}}}={{{{{str letter/trim|{{{7|}}}}}}}} |{{{8|}}}={{{{{str letter/trim|{{{8|}}}}}}}} |{{{9|}}}={{{{{str letter/trim|{{{9|}}}}}}}} |{{{10|}}}={{{{{str letter/trim|{{{10|}}}}}}}} |{{{11|}}}={{{{{str letter/trim|{{{11|}}}}}}}} |{{{12|}}}={{{{{str letter/trim|{{{12|}}}}}}}} |{{{13|}}}={{{{{str letter/trim|{{{13|}}}}}}}} |{{{14|}}}={{{{{str letter/trim|{{{14|}}}}}}}} |{{{15|}}}={{{{{str letter/trim|{{{15|}}}}}}}} |{{{16|}}}={{{{{str letter/trim|{{{16|}}}}}}}} |{{{17|}}}={{{{{str letter/trim|{{{17|}}}}}}}} |{{{18|}}}={{{{{str letter/trim|{{{18|}}}}}}}} |{{{19|}}}={{{{{str letter/trim|{{{19|}}}}}}}} |{{{20|}}}={{{{{str letter/trim|{{{20|}}}}}}}} |{{{21|}}}={{{{{str letter/trim|{{{21|}}}}}}}} |{{{22|}}}={{{{{str letter/trim|{{{22|}}}}}}}} |{{{23|}}}={{{{{str letter/trim|{{{23|}}}}}}}} |{{{24|}}}={{{{{str letter/trim|{{{24|}}}}}}}} |{{{25|}}}={{{{{str letter/trim|{{{25|}}}}}}}} |{{{26|}}}={{{{{str letter/trim|{{{26|}}}}}}}} |{{{27|}}}={{{{{str letter/trim|{{{27|}}}}}}}} |{{{28|}}}={{{{{str letter/trim|{{{28|}}}}}}}} |{{{29|}}}={{{{{str letter/trim|{{{29|}}}}}}}} |{{{30|}}}={{{{{str letter/trim|{{{30|}}}}}}}} |{{{31|}}}={{{{{str letter/trim|{{{31|}}}}}}}} |{{{32|}}}={{{{{str letter/trim|{{{32|}}}}}}}} |{{{33|}}}={{{{{str letter/trim|{{{33|}}}}}}}} |{{{34|}}}={{{{{str letter/trim|{{{34|}}}}}}}} |{{{35|}}}={{{{{str letter/trim|{{{35|}}}}}}}} |{{{36|}}}={{{{{str letter/trim|{{{36|}}}}}}}} |{{{37|}}}={{{{{str letter/trim|{{{37|}}}}}}}} |{{{38|}}}={{{{{str letter/trim|{{{38|}}}}}}}} |{{{39|}}}={{{{{str letter/trim|{{{39|}}}}}}}} |{{{40|}}}={{{{{str letter/trim|{{{40|}}}}}}}} |{{{41|}}}={{{{{str letter/trim|{{{41|}}}}}}}} |{{{42|}}}={{{{{str letter/trim|{{{42|}}}}}}}} |{{{43|}}}={{{{{str letter/trim|{{{43|}}}}}}}} |{{{44|}}}={{{{{str letter/trim|{{{44|}}}}}}}} |{{{45|}}}={{{{{str letter/trim|{{{45|}}}}}}}} |{{{46|}}}={{{{{str letter/trim|{{{46|}}}}}}}} |{{{47|}}}={{{{{str letter/trim|{{{47|}}}}}}}} |{{{48|}}}={{{{{str letter/trim|{{{48|}}}}}}}} |{{{49|}}}={{{{{str letter/trim|{{{49|}}}}}}}} |{{{50|}}}={{{{{str letter/trim|{{{50|}}}}}}}} |{{{51|}}}={{{{{str letter/trim|{{{51|}}}}}}}} |{{{52|}}}={{{{{str letter/trim|{{{52|}}}}}}}} |{{{53|}}}={{{{{str letter/trim|{{{53|}}}}}}}} |{{{54|}}}={{{{{str letter/trim|{{{54|}}}}}}}} |{{{55|}}}={{{{{str letter/trim|{{{55|}}}}}}}} |{{{56|}}}={{{{{str letter/trim|{{{56|}}}}}}}} |{{{57|}}}={{{{{str letter/trim|{{{57|}}}}}}}} |{{{58|}}}={{{{{str letter/trim|{{{58|}}}}}}}} |{{{59|}}}={{{{{str letter/trim|{{{59|}}}}}}}} |{{{60|}}}={{{{{str letter/trim|{{{60|}}}}}}}} |{{{61|}}}={{{{{str letter/trim|{{{61|}}}}}}}} | |||
}}<!-- | |||
}}<noinclude>{{Documentation}}</noinclude> | -->}}</includeonly><noinclude>{{Documentation}}</noinclude> |