Difference between revisions of "Templates"
From eagle-rock.org
Line 12: | Line 12: | ||
*'''[[Template:Category higher]]''' - Code for higher category at upper right corner (use subst:) | *'''[[Template:Category higher]]''' - Code for higher category at upper right corner (use subst:) | ||
*'''[[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:Linknetformbig]]''' - To enter a form for the linknet box (25 cells) (use subst:) | ||
Line 19: | Line 18: | ||
::- VideoUrl: For YouTube this must be the video url. | ::- VideoUrl: For YouTube this must be the video url. | ||
::- InfoPageUrl: To make short url: <ref>[https://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiTwd6Lu8fLAhUL83IKHRdyC1UQFggjMAA&url=https%3A%2F%2Fgoo.gl%2F&usg=AFQjCNHUfA0sPj-O8Rw5iTCWST0AkOrZyw Google URL Shortener] </ref> | ::- InfoPageUrl: To make short url: <ref>[https://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiTwd6Lu8fLAhUL83IKHRdyC1UQFggjMAA&url=https%3A%2F%2Fgoo.gl%2F&usg=AFQjCNHUfA0sPj-O8Rw5iTCWST0AkOrZyw Google URL Shortener] </ref> | ||
− | |||
*'''[[Template:Section pages under topic]]''' - Use this template to add a subsection to the See also section. Change <code>WriteNameHigherTopic</code> and, if a second or third box is needed, change in <code>|offset = 0</code> the 0 to 8, 16. Model page: [[Architecture]] | *'''[[Template:Section pages under topic]]''' - Use this template to add a subsection to the See also section. Change <code>WriteNameHigherTopic</code> and, if a second or third box is needed, change in <code>|offset = 0</code> the 0 to 8, 16. Model page: [[Architecture]] | ||
*'''[[Template:Start pages]]''' - (use subst:) | *'''[[Template:Start pages]]''' - (use subst:) | ||
*'''[[Template:Tags]]''' - Add <nowiki>{{Tags|PageName}}</nowiki> to the top of a page that is used as a tag, making sure that spaces in PageName are written as underscores. | *'''[[Template:Tags]]''' - Add <nowiki>{{Tags|PageName}}</nowiki> to the top of a page that is used as a tag, making sure that spaces in PageName are written as underscores. | ||
− | + | ||
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.
- Template:brc - break all
- Template:Category higher - Code for higher category at upper right corner (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: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 {{Main audio|Title|File:Video}}
- Template:Main video - To enter a main video in a box below the infobox. To enter, write
{{Main video|Title|VideoUrl|InfoPageUrl}}
- - 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.