Template:Excerpt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
add category for pages with excerpts |
||
Line 1: | Line 1: | ||
<includeonly><div style="background:var(--qud-bg-color-semidark);padding:0.5em;overflow:hidden;"><!-- | <includeonly><div style="background:var(--qud-bg-color-semidark);padding:0.5em;overflow:hidden;"><!-- | ||
-->''This section is an excerpt from  ''[[{{{1}}}]].</div><!-- | -->''This section is an excerpt from  ''[[{{{1}}}]].</div><!-- | ||
-->{{#invoke:Transcluder|main}}</includeonly><noinclude>Allows you to include an excerpt from a section on another page. | -->{{#invoke:Transcluder|main}}[[Category:Pages with excerpts]]</includeonly><noinclude>Allows you to include an excerpt from a section on another page. | ||
Note that if the section linked to includes spaces, such as <code>Quickness#Action_Cost_Modifiers</code>, you must omit the underscores to avoid causing a parsing error with this template. | Note that if the section linked to includes spaces, such as <code>Quickness#Action_Cost_Modifiers</code>, you must omit the underscores to avoid causing a parsing error with this template. |
Revision as of 17:00, 20 December 2021
Allows you to include an excerpt from a section on another page.
Note that if the section linked to includes spaces, such as Quickness#Action_Cost_Modifiers
, you must omit the underscores to avoid causing a parsing error with this template.
Example: {{Excerpt|Quickness#Action Cost Modifiers}}
Also note that this can only be used on sections with a section header level of 2 or deeper (i.e. ==
, ===
, etc)