Template:Expand/doc View history

m (→‎Sample: add 2 section header examples)
Line 19: Line 19:
----
----
{{ {{DraftLink|Expand}}}}
{{ {{DraftLink|Expand}}}}
----
{{{{DraftLink|Expand}}|/(LINK)|section=2}}
----
{{{{DraftLink|Expand}}|/(LINK)|(HEADER)|section=2}}
----
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->

Revision as of 18:57, 3 July 2015

This is a documentation subpage for Template:Expand.
It contains usage information, categories and other content that is not part of the original template page.

{{Expand|content or link to transclude|description for header|nt=yes}} This takes two unnamed parameters in order. |either a nugget/subpage link, or raw content= *required if left blank will produce an error.

|description text to be used in header line= if left blank it will use the {{SUBPAGENAME}} of the first first parameter.

|nt=yes content is raw (do not enclose in curly braces for transclusion).

Sample

Click Expand for details on (LINK)


Click Expand for details on /(LINK)


Click Expand for details on (HEADER)


Click Expand for details on (HEADER)

(CONTENT)


Click Expand for details on


{{ ERROR: No content was specified }}