Template:Excerpt: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
m (minor documentation added)
Line 1: Line 1:
<includeonly><div style="background:rgba(6,28,23,0.50);padding:0.5em 0em;overflow:hidden;">{{hatnote|text=<!--
<includeonly><div style="background:rgba(6,28,23,0.50);padding:0.5em 0em;overflow:hidden;">{{hatnote|text=<!--
-->''This section is an extract from &#032;''[[{{{1}}}]]. }}</div><!--
-->''This section is an extract from &#032;''[[{{{1}}}]]. }}</div><!--
-->{{#invoke:Transcluder|main}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
-->{{#invoke:Transcluder|main}}</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.
 
Example: <code><nowiki>{{Excerpt|Quickness#Action Cost Modifiers}}</nowiki></code>
 
[[Category:Templates]]</noinclude>

Revision as of 20:08, 9 November 2020

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}}