Difference between revisions of "Template:More"

From Freephile Wiki
Jump to navigation Jump to search
(adds examples, plus warning that it doesn't work in all cases, and is experimental)
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 ===
 +
 +
  
  
Line 16: Line 18:
 
<nowiki>{{More|article title}}</nowiki>  
 
<nowiki>{{More|article title}}</nowiki>  
 
e.g.
 
e.g.
 +
 +
  
  
Line 24: Line 28:
  
 
=== Link to full URL ===
 
=== Link to full URL ===
 +
 +
  
  
Line 29: Line 35:
 
<nowiki>{{More|http://example.com/foo.html}}</nowiki>  
 
<nowiki>{{More|http://example.com/foo.html}}</nowiki>  
 
e.g.
 
e.g.
 +
 +
  
  

Revision as of 18:50, 25 January 2009

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}}}