Difference between revisions of "Template:FancyFormatLink"
Jump to navigation
Jump to search
(TrimNamespace from link anchortext) |
(trim NBSP) |
||
Line 35: | Line 35: | ||
| concept talk =talk | | concept talk =talk | ||
| other ={{#ifexist: Image:{{#show: {{{1}}} |? Has objectClass2 }}.png | {{#show: {{{1}}} |? Has objectClass2 }}|Page}} | | other ={{#ifexist: Image:{{#show: {{{1}}} |? Has objectClass2 }}.png | {{#show: {{{1}}} |? Has objectClass2 }}|Page}} | ||
− | | page ={{{1}}}}}.png| | + | | page ={{{1}}}}}.png|22px|link={{{1}}}]]<font face="arial">[[{{{1}}}|{{TrimNamespace|{{{1}}}}}]]</font>}}</includeonly> |
Revision as of 18:31, 25 January 2015
This template marks up internal links in a fancy fashion. It is used e.g. by Template:Ratings/Output.
As well as using an unusual font (Arial) it shortens the link and uses an icon to represent the namespace.
Usage:
{{FancyFormatLink|Document:Example document}}