Difference between revisions of "Template:~Link"

From Maths
Jump to: navigation, search
(Adding replace1 named parameter, which will use the first parameter for the link, but replace it for the place where the first parameter goes in the display of the link)
m (Documenting previous change)
Line 17: Line 17:
 
** {{C|<nowiki>{{link|pupp|example|y|ies}}</nowiki>}} for a link to the {{C|puppy (example)}} page, rendered as {{C|puppies}}.
 
** {{C|<nowiki>{{link|pupp|example|y|ies}}</nowiki>}} for a link to the {{C|puppy (example)}} page, rendered as {{C|puppies}}.
 
* As of 7<sup>th</sup> of September 2017 you can use interwiki links, using the w or wiki parameter
 
* As of 7<sup>th</sup> of September 2017 you can use interwiki links, using the w or wiki parameter
 +
* As of 31<sup>st</sup> of December 2017 (@1916) you can now use {{C|1=replace1=X}} so {{C|<nowiki>{{link|X|replace1=Z|...}}</nowiki>}} renders as {{C|<nowiki>[[X...|Z...]]</nowiki>}}
 
</noinclude>
 
</noinclude>

Revision as of 19:17, 31 December 2017


Use: {{link|homomorphism|group|ns=optionalns}} to get a link homomorphism to the optionalns:homomorphism (group) page.

  • As of 10th of September 2016, you can now use the Template:Plural syntax, eg:
    • {{link|variable symbol|FOL|s}} for a link as usual, but displayed as variable symbols and
    • {{link|pupp|example|y|ies}} for a link to the puppy (example) page, rendered as puppies.
  • As of 7th of September 2017 you can use interwiki links, using the w or wiki parameter
  • As of 31st of December 2017 (@1916) you can now use replace1=X so {{link|X|replace1=Z|...}} renders as [[X...|Z...]]