Template:Simp: Difference between revisions

Template page
No edit summary
Added |nobar= parameter, to allow removal of the top and bottom bars.
Tag: wikieditor
Line 1: Line 1:
<noinclude>
<noinclude>
==Usage==
==Usage==
Spell Import (Simp) conveniently import a spell with basic formatting.
Simple Import (Simp) – previously Spell Import – conveniently import a page with basic formatting.
 
  <nowiki>{{simp|page}}</nowiki>
  <nowiki>{{simp|page|nobar=top bot</nowiki>
 
===Important===
To remove the bars use a combination of <code>top</code> and <code>bot</code> separated by a space, i.e. <code>|nobar=top bot</code>.


<code><nowiki>{{Simp|spellname}}</nowiki></code>
===Example===
===Example===
<code><nowiki>{{Simp|Metallic Oxidation}}</nowiki></code>
<code><nowiki>{{simp|Metallic Oxidation}}</nowiki></code>
</noinclude><includeonly>----
</noinclude><includeonly>{{#ifexpr:{{#count:{{{nobar|}}}|top}} > 0 ||----}}
===[[{{{1}}}]]===
===[[{{{1}}}]]===
{{:{{{1}}}}}
{{:{{{1}}}}}
----</includeonly>
{{#count:{{{nobar|}}}|bot}} > 0 ||----}}</includeonly>

Revision as of 11:44, 31 March 2023

Usage

Simple Import (Simp) – previously Spell Import – conveniently import a page with basic formatting.

 {{simp|page}}
 {{simp|page|nobar=top bot

Important

To remove the bars use a combination of top and bot separated by a space, i.e. |nobar=top bot.

Example

{{simp|Metallic Oxidation}}