Template:IncludedSection/doc

From translatewiki.net
This is the documentation subpage for the parent Template:IncludedSection page.
Usage:
Creates an editable section included from another page or template.
This template has the side effect of disabling ALL edit links normally generated on all sections. Use this template only for pages that contain a fully localized part (generally at the top for some headers) and that include the rest of the page (such as a shared and non translatable list of arbitrary length) from another page.
Syntax:
  • {{IncludedSection|
    title=title|
    pagename=namespace:pagename|
    h=2|
    dir=ltr|
    noinclude=1|
    }}
Parameters:
  • title= (mandatory) The title to display in the section heading.
  • pagename= (mandatory) The full name of the page to edit and to include as the section content below the section heading.
  • h= (optional) the section heading level, between 1 and 6 (default 2).
  • dir= (optional) the text directionality for the generated section heading ltr (the default value) or rtl.
  • noinclude=1 (optional) To only display the section title with its edit link but without including the section content.
Example: