Content deleted Content added
Fred Gandt (talk | contribs) added details for |template_link |
Fred Gandt (talk | contribs) juggled explanation of template_link |
||
Line 28:
:'''Result:''' {{#invoke:AnnotatedLink|main|name=The Partisan}}
This and the following example song titles should be double quoted per [[MOS:POPMUSIC]]; that will be handled by [[#quote]] (below), and you will see the parameters in use where appropriate from here on.
=== template_link ===▼
If the linked page is in the [[WP:TEMPLATE|Template]] namespace; the link will be formatted in the manner expected by {{tlx|template link}}:▼
:'''Markup:''' <code><nowiki>{{#invoke:AnnotatedLink|main |name=Template:Annotated link }}</nowiki></code>▼
:'''Result:''' {{#invoke:AnnotatedLink|main|name=Template:Annotated link}}▼
Stating {{para|template_link|code}} will display the link formatted with {{tag|code}}:▼
:'''Markup:''' <code><nowiki>{{#invoke:AnnotatedLink|main |name=Template:Annotated link |template_link=code }}</nowiki></code>▼
:'''Result:''' {{#invoke:AnnotatedLink|main|name=Template:Annotated link|template_link=code}}▼
Stating {{para|template_link|no}} will disable this affectation:▼
:'''Markup:''' <code><nowiki>{{#invoke:AnnotatedLink|main |name=Template:Annotated link |template_link=no }}</nowiki></code>▼
:'''Result:''' {{#invoke:AnnotatedLink|main|name=Template:Annotated link|template_link=no}}▼
The following parameters will be ignored if the link is in the Template namespace: {{para|display}}, {{para|quote}}, {{para|abbr}} and all foreign language link options under {{para|link_lang}}; see [[#Foreign language text]] (below).▼
=== display ===
Line 60 ⟶ 48:
:'''Markup:''' <code><nowiki>{{#invoke:AnnotatedLink|main |name=Confédération Mondiale des Activités Subaquatiques |display=World Underwater Federation |abbr=CMAS |abbr_title=Confédération Mondiale des Activités Subaquatiques }}</nowiki></code>
:'''Result:''' {{#invoke:AnnotatedLink|main|name=Confédération Mondiale des Activités Subaquatiques|display=World Underwater Federation|abbr=CMAS|abbr_title=Confédération Mondiale des Activités Subaquatiques}}
▲=== template_link ===
▲If the linked page is in the [[WP:TEMPLATE|Template]] namespace; the link will be formatted in the manner expected by {{tlx|template link}}:
▲:'''Markup:''' <code><nowiki>{{#invoke:AnnotatedLink|main |name=Template:Annotated link }}</nowiki></code>
▲:'''Result:''' {{#invoke:AnnotatedLink|main|name=Template:Annotated link}}
▲Stating {{para|template_link|code}} will display the link formatted with {{tag|code}}:
▲:'''Markup:''' <code><nowiki>{{#invoke:AnnotatedLink|main |name=Template:Annotated link |template_link=code }}</nowiki></code>
▲:'''Result:''' {{#invoke:AnnotatedLink|main|name=Template:Annotated link|template_link=code}}
▲The
▲Stating {{para|template_link|no}} will disable this
▲:'''Markup:''' <code><nowiki>{{#invoke:AnnotatedLink|main |name=Template:Annotated link |template_link=no |display=Annotated link }}</nowiki></code>
▲:'''Result:''' {{#invoke:AnnotatedLink|main|name=Template:Annotated link|template_link=no|display=Annotated link}}
=== aka ===
|