Template:ArgDocLine/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
{{ |
{{Documentation}} |
||
This template provides right facing bracket data for [[Template:L]]. |
|||
This template is used to make it possible to insert <nowiki>[[ to a template, for example a template that automatically inserts links. The template would automatically add [[ and ]] around a specific parameter, but you want it to contain 2 seperate links. Then you should do {{template|link 1]] and {{l|o}}link 2}} as adding [[ instead of {{l|o}} would cause the template to break.</nowiki> |
|||
==Usage== |
|||
This template should not normally be linked to, however, it can be, if need be, by entering the following code. |
|||
For the first parameter, the following options are possible: |
|||
<pre>{{L/c}}</pre> |
|||
o and open (resulting in {{l|o}})<br/> |
|||
<includeonly>[[Category:Formatting templates|{{PAGENAME}}]]</includeonly> |
|||
c and close (resulting in {{l|c}}) |
Revision as of 00:35, 17 October 2024
This template is used to make it possible to insert [[ to a template, for example a template that automatically inserts links. The template would automatically add [[ and ]] around a specific parameter, but you want it to contain 2 seperate links. Then you should do {{template|link 1]] and {{l|o}}link 2}} as adding [[ instead of {{l|o}} would cause the template to break.
For the first parameter, the following options are possible:
o and open (resulting in [[)
c and close (resulting in ]])