Difference between revisions of "Template:More"

From Freephile Wiki
Jump to navigation Jump to search
(navigation and formatting template)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:Go-next.svg|16px|more|link=$1]]<noinclude>This template displays a graphical icon arrow with the alt/title text "more". The image will link to whatever is supplied as an argument to the template-either a wiki artile title or full URL</noinclude>
+
[[Image:Go-next.svg|16px|more|link={{{1}}}]]<noinclude>
 +
 
 +
{{Messagebox
 +
| type = warning
 +
| text = Experimental: This template is using the new [[mw:Help:Linked_images|image-linking functionality of MediaWiki v1.15]]
 +
}}
 +
This template displays a graphical icon arrow with the alt/title text "more". The image will link to whatever is supplied as an argument to the template-either a wiki artile title or full URL
 +
 
 +
This template doesn't work yet if the link attribute has a slash in it.
 +
 
 +
== Usage ==
 +
=== Link to any Article Title ===
 +
<nowiki>{{More|article title}}</nowiki> e.g.
 +
<nowiki>{{More|Help:Contents}}</nowiki> produces
 +
{{More|Help:Contents}}
 +
 
 +
=== Link to full URL ===
 +
<nowiki>{{More|http://example.com/foo.html}}</nowiki> e.g.
 +
<nowiki>{{More|http://google.com/q=free+software}}</nowiki> produces
 +
{{More|http://google.com/q=free+software}}
 +
</noinclude>

Latest revision as of 15:09, 13 May 2013

link={{{1}}}

Experimental: This template is using the new image-linking functionality of MediaWiki v1.15

This template displays a graphical icon arrow with the alt/title text "more". The image will link to whatever is supplied as an argument to the template-either a wiki artile title or full URL

This template doesn't work yet if the link attribute has a slash in it.

Usage[edit source]

Link to any Article Title[edit source]

{{More|article title}} e.g. {{More|Help:Contents}} produces more

Link to full URL[edit source]

{{More|http://example.com/foo.html}} e.g. {{More|http://google.com/q=free+software}} produces link={{{1}}}