Template:Command: Difference between revisions

From HorizonXI Wiki
No edit summary
mNo edit summary
 
(8 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>
<noinclude>[[Category:Templates]]</noinclude>


[[Category:Templates/Headers|{{PAGENAME}}]]
<div class="flex-container">
<includeonly><onlyinclude><!--
<div class="flex-container-item-2>
 
==Usage==
Cheat sheet that is only visible during preview
<pre>{{Command
-->{{#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>
| aliases =
| usage =
| description =
| notes =
}}</pre>
</div>
<div class="flex-container-item-2>
== Displays as... ==
{{Command
{{Command
| aliases = {Leave blank for none, otherwise add aliases}
| aliases =  
| usage = {Leave blank for page name, otherwise include the usage}
| usage =  
| description = {command description goes here}
| description =  
| notes =
}}
}}
</pre></div>}}<!--
</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.