Difference between revisions of "Template:FancyFormatLink"
Jump to navigation
Jump to search
(Page.png for objectclassless pages) |
|||
Line 4: | Line 4: | ||
'''Usage:'''<br/> | '''Usage:'''<br/> | ||
<font face="courier"><nowiki>{{</nowiki>{{PAGENAME}}|Document:Example document<nowiki>}}</nowiki></font> | <font face="courier"><nowiki>{{</nowiki>{{PAGENAME}}|Document:Example document<nowiki>}}</nowiki></font> | ||
− | </noinclude><includeonly>{{#if: {{{1|}}}|{{Namespace detect | + | </noinclude><includeonly>__NOCACHE__{{#if: {{{1|}}}|[[image:{{Namespace detect |
− | | document = | + | | document =Document |
− | | other = | + | | user =Wikispooks |
− | + | | other ={{#ifexist: Image:{{#show: {{{1}}} |? Has objectClass2 }}.png | {{#show: {{{1}}} |? Has objectClass2 }}|Page}} | |
− | + | | page ={{{1}}}}}.png|26px|link={{{1}}}]] <font face="arial">[[{{{1}}}]]</font>}}</includeonly> |
Revision as of 16:35, 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}}