Difference between revisions of "Templates"

From eagle-rock.org
Line 13: Line 13:
 
*'''[[Template:Iframe]]''' - to enter an iframe (use subst:)
 
*'''[[Template:Iframe]]''' - to enter an iframe (use subst:)
 
*'''[[Template:Linknetform]]''' - To enter a form for the linknet box (9 cells) (use subst:)
 
*'''[[Template:Linknetform]]''' - To enter a form for the linknet box (9 cells) (use subst:)
*'''[[Template:Linknetformbig]]''' - To enter a form for the linknet box (25 cells) (use subst:)
 
 
*'''[[Template:Main audio]]''' - To enter a main audio in a box below the infobox. To enter, write <nowiki>{{Main audio|Title|File:Video}}</nowiki>
 
*'''[[Template:Main audio]]''' - To enter a main audio in a box below the infobox. To enter, write <nowiki>{{Main audio|Title|File:Video}}</nowiki>
 
*'''[[Template:Main video]]''' - To enter a main video in a box below the infobox. To enter, write <code><nowiki>{{Main video|Title|VideoUrl|InfoPageUrl}}</nowiki></code>  
 
*'''[[Template:Main video]]''' - To enter a main video in a box below the infobox. To enter, write <code><nowiki>{{Main video|Title|VideoUrl|InfoPageUrl}}</nowiki></code>  

Revision as of 05:15, 21 March 2016



Use {{TemplateName}} to enter the content of a template into the saved page.

Use {{subst:TemplateName}} to enter the content of a template into the edit version of a page.


- VideoUrl: For YouTube this must be the video url.
- InfoPageUrl: To make short url: [1]
  • Template:Section pages under topic - Use this template to add a subsection to the See also section. Change WriteNameHigherTopic and, if a second or third box is needed, change in |offset = 0 the 0 to 8, 16. Model page: Architecture
  • Template:Start pages - (use subst:)
  • Template:Tags - Add {{Tags|PageName}} to the top of a page that is used as a tag, making sure that spaces in PageName are written as underscores.






References