Template:Command: Difference between revisions

From Horizon Wiki Mirror
Content deleted Content added
imported>Spiffly
No edit summary
imported>Spiffly
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>
==Usage==
{{Preview Only Infobox|<pre>{{Command
* aliases: - editors to add in any relevent aliases. If there are none, leave blank to return "None".
| aliases = {Leave blank for "None"}
* usage: - leave blank to return the page name. Alternatively this parameter can be set to whatever the editor chooses.
| usage = {Leave blank, auto adds pagename}
* description: - provide a description of the command.
| description = {Small description. For longer 'notes', use "== Notes ==" below this template}

| notes = {Add any notes. Mark each one with a bullet point}
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>}}

<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>


<div class="flex-container">
[[Category:Templates/Headers|{{PAGENAME}}]]
<div class="flex-container-item-2>
<includeonly><onlyinclude><!--
==Usage==

<pre>{{Command
Cheat sheet that is only visible during preview
| aliases =
-->{{#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>
| 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 =
| usage = {Leave blank for page name, otherwise include the 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.