Template:Adv: Difference between revisions

From Xenharmonic Reference
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="color: #a0a0a0;">{{{1}}}</div></includeonly><noinclude>Makeshift/temporary replacement for the <code><adv></adv></code> tags {{adv|(example)}}
<includeonly><span class="adv">{{{1|}}}</span></includeonly><noinclude>
== Documentation ==
Inline styling for advanced content in otherwise non-advanced ([[:Category:Expert pages|expert]] or [[:Category:Technical pages|technical]]) pages. '''Only works inline, not on multiple paragraphs.''' If you have multiple long advanced paragraphs, consider splitting the content off to an advanced page.
=== Examples ===
==== Inline ====
<code><nowiki>This is {{adv|advanced}}</nowiki></code>
 
yields
 
This is {{adv|advanced}}
==== Multi-paragraph ====
<pre>
{{adv|Lorem ipsum}}
 
{{adv|dolor sit}}
 
{{adv|amet consectetur}}
</pre>
 
yields:
 
{{adv|Lorem ipsum}}
 
{{adv|dolor sit}}
 
{{adv|amet consectetur}}
</noinclude>

Latest revision as of 19:31, 11 December 2025

Documentation

Inline styling for advanced content in otherwise non-advanced (expert or technical) pages. Only works inline, not on multiple paragraphs. If you have multiple long advanced paragraphs, consider splitting the content off to an advanced page.

Examples

Inline

This is {{adv|advanced}}

yields

This is advanced

Multi-paragraph

{{adv|Lorem ipsum}}

{{adv|dolor sit}}

{{adv|amet consectetur}}

yields:

Lorem ipsum

dolor sit

amet consectetur