Help:Cargo template: Difference between revisions

Jump to navigation Jump to search
Line 308: Line 308:
** The display code (parameters part).
** The display code (parameters part).
* '''No tags''': Content without tags appears both on the template page and when transcluded. Use sparingly, e.g., for shared instructions, but avoid for Cargo functions to prevent duplication.
* '''No tags''': Content without tags appears both on the template page and when transcluded. Use sparingly, e.g., for shared instructions, but avoid for Cargo functions to prevent duplication.
* '''<onlyinclude>''': Rarely needed for Cargo templates. Use to specify exactly what gets transcluded if you have complex mixed content.
* '''<nowiki><onlyinclude></nowiki>''': Rarely needed for Cargo templates. Use to specify exactly what gets transcluded if you have complex mixed content.


'''Best Practices''':
'''Best Practices''':

Navigation menu