Template:More: Difference between revisions
From Freephile Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
{{Messagebox | {{Messagebox | ||
| type = warning | | type = warning | ||
| text = Experimental: This template is using the new image-linking functionality of MediaWiki v1.15 | | 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 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 | ||
Line 11: | Line 11: | ||
== Usage == | == Usage == | ||
=== Link to any Article Title === | === Link to any Article Title === | ||
<nowiki>{{More|article title}}</nowiki> e.g. | |||
<nowiki>{{More|Help:Contents}}</nowiki> produces | |||
<nowiki>{{More|article title}}</nowiki> | |||
e.g. | |||
<nowiki>{{More|Help:Contents}}</nowiki> | |||
produces | |||
{{More|Help:Contents}} | {{More|Help:Contents}} | ||
=== Link to full URL === | === Link to full URL === | ||
<nowiki>{{More|http://example.com/foo.html}}</nowiki> e.g. | |||
<nowiki>{{More|http://google.com/q=free+software}}</nowiki> produces | |||
<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}} | {{More|http://google.com/q=free+software}} | ||
</noinclude> | </noinclude> |
Latest revision as of 16:09, 13 May 2013
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]
Link to any Article Title[edit]
{{More|article title}} e.g.
{{More|Help:Contents}} produces
Link to full URL[edit]
{{More|http://example.com/foo.html}} e.g.
{{More|http://google.com/q=free+software}} produces