Changes

→‎Documentation on the template page: It doesn't work that way, modify the instruction
Line 36: Line 36:  
# Write the full documentation.
 
# Write the full documentation.
 
# Put a link to another page which itself contains the documentation.
 
# Put a link to another page which itself contains the documentation.
−
# Write the documentation on another page (usually a sub-page), and include that other page on the template page using the template syntax.  For example:  <small><tt><nowiki><noinclude>{{/doc}}</noinclude></nowiki></tt></small> will place the contents of the "doc" sub-page of the template on the template page itself.
+
# Write the documentation on another page (usually a sub-page), and include that other page on the template page using the template syntax.  For example:  <small><tt><nowiki><noinclude>{{<template-name>/doc}}</noinclude></nowiki></tt></small> will place the contents of the "doc" sub-page of the template on the template page itself.
 
Methods 2 and 3 are useful if the template itself is locked from editing, as it still allows the documentation itself to be edited by any editor.
 
Methods 2 and 3 are useful if the template itself is locked from editing, as it still allows the documentation itself to be edited by any editor.
  
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits