Difference between revisions of "Template:Icon link"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
		
	
 (Make it simpler)  | 
				m (Use non breaking space to prevent linebreak between icon and text)  | 
				||
| Line 1: | Line 1: | ||
| − | [[File:{{{1|Icon missing.png}}}|{{{size|x30px}}}|link={{{2}}}|alt={{{3|{{{2}}}}}}]] [[{{{2}}}|{{{3|{{{2}}}}}}]]<noinclude>  | + | [[File:{{{1|Icon missing.png}}}|{{{size|x30px}}}|link={{{2}}}|alt={{{3|{{{2}}}}}}]] [[{{{2}}}|{{{3|{{{2}}}}}}]]<noinclude>  | 
<templatedata>  | <templatedata>  | ||
{  | {  | ||
Latest revision as of 20:02, 5 March 2021
link={{{2}}} [[{{{2}}}|{{{2}}}]]
For adding a link to a page with an icon attached
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Icon | 1 | Icon to display 
  | File | required | 
| Page | 2 | Page to link to 
  | Page | required | 
| Page name | 3 | Text displayed instead of the page name, if different from link 
  | String | optional | 
| Icon Size | size | Size of the icon, as a standard Mediawiki image size 
  | Unknown | optional |