Template:Command: Difference between revisions

From HorizonXI Wiki
No edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Templates/Headers|{{PAGENAME}}]]
<includeonly><onlyinclude>
<includeonly><onlyinclude><!--
{{Preview Only Infobox|<pre>{{Command
 
| aliases = {Leave blank for "None"}
Cheat sheet that is only visible during preview
| usage = {Leave blank, auto adds pagename}
-->{{#if:{{REVISIONID}}||<div style="border: 4px #AA0000 solid;"><div style="margin: 4px; padding: 4px; text-align: center; font-weight: bold; color: #AA0000; font-size: 1.6em;">This Documentation is only visible in preview mode!</div><pre>
| description = {Small description. For longer 'notes', use "== Notes ==" below this template}
{{Command
| notes = {Add any notes. Mark each one with a bullet point}
| aliases = None
}}</pre>}}
| usage =  
| description =  
}}
</pre></div>}}
==Usage==
* aliases: - editors to add in any relevent aliases. If there are none, leave blank to return "None".
* usage: - leave blank to return the page name. Alternatively this parameter can be set to whatever the editor chooses.
* description: - provide a description of the command.
 
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.
 
<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 48: 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>
<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.