Template:Command: Difference between revisions

From HorizonXI Wiki
No edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Usage==
<includeonly><onlyinclude>
* aliases: - editors to add in any relevent aliases. If there are none, leave blank to return "None".
{{Preview Only Infobox|<pre>{{Command
* usage: - leave blank to return the page name. Alternatively this parameter can be set to whatever the editor chooses.
| aliases = {Leave blank for "None"}
* description: - provide a description of the command.
| usage = {Leave blank, auto adds pagename}
 
| description = {Small description. For longer 'notes', use "== Notes ==" below this template}
When using this template, please manually add a <nowiki>== Notes ==</nowiki> section below it and any further notes. This is the first template I have written so I will be looking to improve upon it.
| notes = {Add any notes. Mark each one with a bullet point}
 
}}</pre>}}
<pre>{{Command
| aliases = None
| usage =  
| description = Shows a description of how to use this page.
}}</pre>
 
{{Command
| aliases =  
| usage =  
| description = Shows a description of how to use this page.
}}
 
 
 
<includeonly><onlyinclude><!--
-->{{categorize|{{{1|}}}|<!--
-->[[Category:Commands]]<!--
-->}}
__NOTOC__
{| class="horizon-table table-xs ffxi-table"
{| class="horizon-table table-xs ffxi-table"
! colspan="2" | [[:Category:Commands|Command]]
! colspan="2" | [[:Category:Commands|Command]]
Line 37: Line 18:
| width="67%" | {{{description|}}}
| width="67%" | {{{description|}}}
|-
|-
|}</onlyinclude></includeonly>
|}
<h2>Notes</h2>
{|
|- valign="top"
|
{{{notes|}}}
|}<!--
 
-->{{categorize|{{{1|}}}|<!--
-->[[Category:Commands]]<!--
-->}}
__NOTOC__</onlyinclude></includeonly>
 
<noinclude>[[Category:Templates]]</noinclude>
 
<div class="flex-container">
<div class="flex-container-item-2>
==Usage==
<pre>{{Command
| aliases =
| usage =
| description =
| notes =
}}</pre>
</div>
<div class="flex-container-item-2>
== Displays as... ==
{{Command
| aliases =
| usage =
| description =
| notes =
}}
</div></div>
<br>
 
----
'''Aliases:''' Leave blank for "None". Otherwise add in aliases.<br>
'''Usage:''' This can be left blank as it will automatically add the  pagename eg. "Command/Example".<br>
'''Description:''' Shows a description of how to use this page.<br>
'''Notes:''' Add any further notes here.<br>

Latest revision as of 22:50, 8 November 2023


Usage

{{Command
| aliases = 
| usage = 
| description = 
| notes = 
}}

Displays as...

Command
Aliases: None
Usage: Command
Description:

Notes



Aliases: Leave blank for "None". Otherwise add in aliases.
Usage: This can be left blank as it will automatically add the pagename eg. "Command/Example".
Description: Shows a description of how to use this page.
Notes: Add any further notes here.