User talk:Z929669: Difference between revisions
No edit summary |
|||
Line 13: | Line 13: | ||
: - Not sure what the above is referring to ... can you provide context? | : - Not sure what the above is referring to ... can you provide context? | ||
:~[[User:z929669|z929669]][[File:Ixian_Insignia.png|30px|link=User:z929669]][[User talk:z929669|Talk]] 18:36, November 5, 2012 (UTC) | :~[[User:z929669|z929669]][[File:Ixian_Insignia.png|30px|link=User:z929669]][[User talk:z929669|Talk]] 18:36, November 5, 2012 (UTC) | ||
::For example, in [[Template:ModTest]] you place all the "documentation" stuff at the top followed by the actual template. IMO it's better to place the actual template first so there's no confusion as to where the transclusion begins and it becomes a matter of one "''<nowiki><noinclude></nowiki>''" tag to distinguish where it ends and the documentation begins. ~[[User:Farlo|Farlo]][[File:User Farlo Sig.png|19px|link=User:Farlo]]<small>[[User talk:Farlo|Talk]]</small> 23:27, November 5, 2012 (UTC) |
Revision as of 23:27, November 5, 2012
The Spice must flow! ~z929669Talk 23:27:02 5 November 2012 (UTC)
Includeonly & Noinclude
As you can see here, make sure to close the starting includeonly before calling noinclude, it doesn't appear to matter for the parser but it helps keep things simple for the editor. Also, There's no need for multiple noinclude tags, just make sure there's one at the very end of what's to be included (without a linebreak or anything else in between). You also don't need a close at the end of the page since we don't want anything else on the page included. There's also Help:Template#Noinclude, includeonly, and onlyinclude on Wikipedia for a more detailed explanation. ~FarloTalk 18:25, 6 July 2012 (UTC)
- Got it thanks!
- Also, why do we have the notification templates (e.g., Big Small & Bug small) > the former is under wanted cat "Notification templates" shile the latter is under cat "Bug Small". The latter seems redundant.
- Let's keep the conversations on the same page so we're not hoping back and forth :P Anyways, wait... what? All of the notifications are under Category:Notification Templates which is under Category:Templates. ~Farlo
Talk 18:52, 6 July 2012 (UTC)
- Let's keep the conversations on the same page so we're not hoping back and forth :P Anyways, wait... what? All of the notifications are under Category:Notification Templates which is under Category:Templates. ~Farlo
If you go to Special Pages > Templates, you will see what I mean ;) ~z929669Talk 19:07, 6 July 2012 (UTC)
Template formatting
It shouldn't really matter, but IMO it's better to start templates off with the parts to be included and adding all the "noinclude" information underneath it. It's just a habit of mine, is there any reason you do it the other way 'round? ~FarloTalk 08:57, November 4, 2012 (UTC)
- - Not sure what the above is referring to ... can you provide context?
- ~z929669
Talk 18:36, November 5, 2012 (UTC)
- For example, in Template:ModTest you place all the "documentation" stuff at the top followed by the actual template. IMO it's better to place the actual template first so there's no confusion as to where the transclusion begins and it becomes a matter of one "<noinclude>" tag to distinguish where it ends and the documentation begins. ~Farlo
Talk 23:27, November 5, 2012 (UTC)
- For example, in Template:ModTest you place all the "documentation" stuff at the top followed by the actual template. IMO it's better to place the actual template first so there's no confusion as to where the transclusion begins and it becomes a matter of one "<noinclude>" tag to distinguish where it ends and the documentation begins. ~Farlo