Difference between revisions of "Template talk:Am"
From Tales of Maj'Eyal
								
												
				 (discussion re: these template types)  | 
				 (nevermind, I'm wrong)  | 
				||
| Line 1: | Line 1: | ||
w/r/t using these templates transcluded in pages: We could? can? use the <nowiki> <includeonly> </nowiki> tags to make sure no whitespace ends up in them by mistake.  | w/r/t using these templates transcluded in pages: We could? can? use the <nowiki> <includeonly> </nowiki> tags to make sure no whitespace ends up in them by mistake.  | ||
| + | |||
| + | Nevermind the above, that's incorrect. From wikimedia:  | ||
| + | |||
| + | * Anything between <nowiki><noinclude> and </noinclude></nowiki> will be seen only when the template's page is being viewed directly, but not when it is included in another page.  | ||
| + | |||
| + | * Likewise, anything between <nowiki><includeonly> and </includeonly></nowiki> will be processed and displayed only when the page is being included, but not when the template page is being viewed directly  | ||
| + | |||
| + | * Everything outside <nowiki><noinclude> and <includeonly></nowiki> tags is processed and displayed normally; that is, both when the template page is being viewed directly and when the template is included in another page.  | ||
| + | |||
| + | [[User:Ibanix|Ibanix]] ([[User talk:Ibanix|talk]]) 01:42, 26 June 2013 (UTC)  | ||
Latest revision as of 02:42, 26 June 2013
w/r/t using these templates transcluded in pages: We could? can? use the <includeonly> tags to make sure no whitespace ends up in them by mistake.
Nevermind the above, that's incorrect. From wikimedia:
- Anything between <noinclude> and </noinclude> will be seen only when the template's page is being viewed directly, but not when it is included in another page.
 
- Likewise, anything between <includeonly> and </includeonly> will be processed and displayed only when the page is being included, but not when the template page is being viewed directly
 
- Everything outside <noinclude> and <includeonly> tags is processed and displayed normally; that is, both when the template page is being viewed directly and when the template is included in another page.