Template:Command: Difference between revisions

From HorizonXI Wiki
No edit summary
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Usage==
<includeonly><onlyinclude>
* aliases: - provide any other aliases this command is known as. If there are none, please type "None".
{{Preview Only Infobox|<pre>{{Command
* usage: - typing anything in this parameter will result in it showing the name of the page.
| 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}
| notes = {Add any notes. Mark each one with a bullet point}
}}</pre>}}
{| class="horizon-table table-xs ffxi-table"
! colspan="2" | [[:Category:Commands|Command]]
|-
! width="33%" | Aliases:
| width="67%" | {{#if:{{{aliases|}}}|{{{aliases}}}|None}}
|-
! width="33%" | Usage:
| width="67%" | {{#if:{{{usage|}}}|{{{usage}}}|{{PAGENAME}}}}
|-
! width="33%" | Description:  
| width="67%" | {{{description|}}}
|-
|}
<h2>Notes</h2>
{|
|- valign="top"
|
{{{notes|}}}
|}<!--
 
-->{{categorize|{{{1|}}}|<!--
-->[[Category:Commands]]<!--
-->}}
__NOTOC__</onlyinclude></includeonly>


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.
<noinclude>[[Category:Templates]]</noinclude>


<div class="flex-container">
<div class="flex-container-item-2>
==Usage==
<pre>{{Command
<pre>{{Command
| aliases = None
| aliases =  
| usage =  
| usage =  
| description = Shows a description of how to use this page.
| description =  
| notes =
}}</pre>
}}</pre>
 
</div>
<div class="flex-container-item-2>
== Displays as... ==
{{Command
{{Command
| aliases = None
| aliases =  
| usage =  
| usage =  
| description = Shows a description of how to use this page.
| description =  
| notes =
}}
}}
</div></div>
<br>


 
----
 
'''Aliases:''' Leave blank for "None". Otherwise add in aliases.<br>
<includeonly><onlyinclude><!--
'''Usage:''' This can be left blank as it will automatically add the  pagename eg. "Command/Example".<br>
-->{{categorize|{{{1|}}}|<!--
'''Description:''' Shows a description of how to use this page.<br>
-->[[Category:Commands]]<!--
'''Notes:''' Add any further notes here.<br>
-->}}
__NOTOC__
{| class="horizon-table table-xs ffxi-table"
! colspan="2" | Command
|-
! width="33%" | Aliases:
| width="67%" | {{{aliases|}}}
|-
! width="33%" | Usage:
| width="67%" | {{#if:{{{usage|}}}|{{PAGENAME}}}}
|-
! width="33%" | Description:  
| width="67%" | {{{description|}}}
|-
|}</onlyinclude></includeonly>

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.