Created
March 16, 2018 22:45
-
-
Save zhudotexe/aabd2e5c89c0dd1182ffb92113fbbaaa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row" id="examplemodule"> | |
<h2>Module Name</h2> | |
<p>Module description.</p> | |
<div class="panel panel-default"> | |
<div class="panel-heading" role="tab" id="example"> <!-- change id name to command name --> | |
<h4 class="panel-title"> | |
<a role="button" data-toggle="collapse" aria-expanded="true" aria-controls="example-c" href="#example-c"> <!-- change aria-controls and href to command name-c --> | |
<b>Command Name</b> - Short Description - !command <args> | |
</a> | |
</h4> | |
</div> | |
<div id="example-c" aria-labelledby="example" class="panel-collapse collapse in" role="tabpanel"> <!-- change id, aria-labelledby to name-c, name respectively --> | |
<div class="panel-body"> | |
<p> | |
Longer command description. Nest any subcommands or arguments in another panel, labelled Subcommands/Arguments/etc. ID of any subcommands should be, for example, <code>example-subcommandname</code>, <code>example-args</code>, etc. | |
</p> | |
<table class="table table-striped table-bordered"> | |
<thead> | |
<tr> | |
<th>Arguments</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td><kbd>args</kbd> - Detail each command argument here.</td> | |
</tr> | |
</tbody> | |
</table> | |
<p> | |
<b>Example</b>: <code>!example argument</code> | |
</p> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment