Template:Para/doc: Difference between revisions

Jump to navigation Jump to search
Updated the info.
(Updated the info.)
 
Line 22: Line 22:
*# ''with text'': shows the entered text as the parameter name;
*# ''with text'': shows the entered text as the parameter name;
*# ''empty'': (by entering two vertical lines; '''NB!''' This is not the same as simply skipping the parameter; see the examples) shows the value, if entered, as if for an unnamed parameter; or
*# ''empty'': (by entering two vertical lines; '''NB!''' This is not the same as simply skipping the parameter; see the examples) shows the value, if entered, as if for an unnamed parameter; or
*# ''with {{tn|!}}'': gives the illusion of empty parameter input (see the examples), will show any entered text as a parameter name. Can be used with either of the two ways described above.
*# ''with {{code|&124;}}'': gives the illusion of empty parameter input (see the examples), will show any entered text as a parameter name. Can be used with either of the two ways described above.
* Can be wiki-formatted.
* Can be wiki-formatted.
* Must be placed '''before''' the 2nd unnamed parameter.
* Must be placed '''before''' the 2nd unnamed parameter.
Line 107: Line 107:
| {{para|parameter|value|serif=yes|plain=yes}}
| {{para|parameter|value|serif=yes|plain=yes}}
|-
|-
| rowspan="4" | Using {{tlf|&#33;}} || <code><nowiki>{{para|{{!}}parameter|value}}</nowiki></code> || {{para|{{!}}parameter|value}}
| rowspan="4" | Using {{code|&amp;#124;}} || <code><nowiki>{{para|&amp;#124;parameter|value}}</nowiki></code> || {{para|&#124;parameter|value}}
|-
|-
| <code><nowiki>{{para|{{!}}parameter}}</nowiki></code> || {{para|{{!}}parameter}}
| <code><nowiki>{{para|&amp;#124;parameter}}</nowiki></code> || {{para|&#124;parameter}}
|-
|-
| <code><nowiki>{{para||{{!}}value}}</nowiki></code> || {{para||{{!}}value}}
| <code><nowiki>{{para||&amp;#124;value}}</nowiki></code> || {{para||&#124;value}}
|-
|-
| <code><nowiki>{{para|{{!}}}}</nowiki></code> || {{para|{{!}}}}
| <code><nowiki>{{para|&amp;#124;}}</nowiki></code> || {{para|&#124;}}
|-
|-
| Wiki-formatting || {{tlc|para|<nowiki>You ''can'' '''use'''|{{sup|wiki}} <big>markup</big></nowiki>}} || {{para|You ''can'' '''use'''|{{sup|wiki}} <big>markup</big>}}
| Wiki-formatting || {{tlc|para|<nowiki>You ''can'' '''use'''|{{sup|wiki}} <big>markup</big></nowiki>}} || {{para|You ''can'' '''use'''|{{sup|wiki}} <big>markup</big>}}
3,860

edits

Navigation menu