Difference between revisions of "Templates"
From eagle-rock.org
m (Protected "Templates" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | [[ | + | Use <nowiki>{{TemplateName}}</nowiki> to enter the content of a template into the saved page. |
+ | |||
+ | Use <nowiki>{{subst:TemplateName}}</nowiki> 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: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> | ||
+ | ::- 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> | ||
+ | *'''[[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: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. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Category:Templates]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==References== | ||
+ | <references/> | ||
+ | |||
+ | [[Category:Templates]] |
Latest revision as of 10:47, 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: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.