Difference between revisions of "Syntax Example"

From WHMCS Documentation

(Example installation with configuration data)
(Headers)
 
Line 61: Line 61:
  
 
==Headers==
 
==Headers==
 
+
All headers, with the exception of FAQ headers, need to use title case rather than sentence case.
 
<source lang="php">
 
<source lang="php">
 
==Parent Section==
 
==Parent Section==

Latest revision as of 13:22, 31 July 2020

Text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Names in the Product

To do this, go to Section > Section > Interface Name and choose Menu Item from the Name Of Menu menu. Then, click Save.

To do this, go to '''Section > Section > Interface Name'''
and choose ''Menu Item'' from the '''Name Of Menu''' menu. Then, click '''Save'''.

Icons

<i class="fa fa-wrench"></i> <i class="fa fa-gear"></i> <i class="fa fa-cube"></i>

See https://fortawesome.github.io/Font-Awesome/icons/ for a full list of possible icon values.

Linking

For more information about domain spotlights, see Domain Pricing Matrix page.

For more information about domain spotlights, see Domain Pricing Matrix.

For more information about domain spotlights, see [[Domain_Pricing_Matrix|Domain Pricing Matrix page]].
For more information about domain spotlights, see [[Domain Pricing Matrix]].

Anchors

Adding the anchor

(This has no visual impact on the page.)

===== <span id="ex-config"></span>Example installation with configuration data =====

Linking to Anchors from a Different Page

see Anchor in Page Title

[[Page_Title#Anchor|see Anchor in Page Title]]

Linking to Anchors from the Same Page

see Anchor below

[[#Anchor|see Anchor below]]

Headers

All headers, with the exception of FAQ headers, need to use title case rather than sentence case.

==Parent Section==
Main section text that applies to all the below items goes here.
 
===Subtopic 1===
Content that has to do with a specific aspect of or item in the larger section.
 
===Subtopic 2===
Content that has to do with a specific aspect of or item in the larger section.
 
====Detail of subtopic A====
 
Content about a sub-aspect of this aspect of the parent section.
 
====Detail of subtopic B====
 
Content about a sub-aspect of this aspect of the parent section.

Pre-formatted Text

Inline with text

/modules/servers/ahsaybackups/

<tt>/modules/servers/ahsaybackups/</tt>

In a code block

Some preformatted text

<div class="source-cli">
Some preformatted text
</div>

Multi-line Code Block

Line
Line
Line
Line
Line

<div class="source-cli">
<br/>Line
<br/>Line
<br/>Line
<br/>Line
<br/>Line
</div>

Standout Text

<div class="docs-related-pages">Text inside here will be centered. Use this to include links to related pages.</div>

Alerts

xyz
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="docs-alert-success">
<span class="title">xyz</span><br />
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

xyz
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="docs-alert-info">
<span class="title">xyz</span><br />
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

xyz
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="docs-alert-warning">
<span class="title">xyz</span><br />
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

xyz
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="docs-alert-danger">
<span class="title">xyz</span><br />
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

Tables

General Tables

Column NameColumn Name
Value$2.00
Value$1.00
Value$0.50
<table class="table table-striped table-condensed">
<tr><th>Starting Quantity</th><th>Price per Database</th></tr>
<tr><td>0</td><td>$2.00</td></tr>
<tr><td>10</td><td>$1.00</td></tr>
<tr><td>20</td><td>$0.50</td></tr>
</table>

On Module Pages


Supported Features

Register Transfer Renew Registrar Lock
Yes Yes Yes No
Update Nameservers Update WHOIS Get EPP Code Register Nameservers
Yes Yes Yes Yes
DNS Record Management Email Forwarding Domain Release Domain Sync Script
No No No No
Premium Domains Transfer Out Automation
No No
{{registrar
| register = yes
| transfer = yes
| renew = yes
| dns = yes
| whois = yes
| getepp = yes
| regns = yes
}}

Columns

2 Columns

Column 1 text goes here...

Column 2 text goes here...

<div class="row">
<div class="col-sm-6">
Column 1 text goes here...
</div>
<div class="col-sm-6">
Column 2 text goes here...
</div>
</div>

3 Columns

Column 1 text goes here...

Column 2 text goes here...

Column 3 text goes here...

<div class="row">
<div class="col-sm-4">
Column 1 text goes here...
</div>
<div class="col-sm-4">
Column 2 text goes here...
</div>
<div class="col-sm-4">
Column 3 text goes here...
</div>
</div>

Lists

Bulleted List

  • This is a list
    • This is a list
    • This is a list
  • This is a list
  • This is a list
* This is a list
** This is a list
** This is a list
* This is a list
* This is a list

Numbered List

  1. This is a numbered list
  2. This is a numbered list
    1. This is a numbered list
    2. This is a numbered list
    3. This is a numbered list
#This is a numbered list
#This is a numbered list
##This is a numbered list
##This is a numbered list
##This is a numbered list

Mixed List

These are steps with bullets:

  1. These are steps and bullets
  2. These are steps and bullets
    • These are steps and bullets
    • These are steps and bullets
  3. These are steps and bullets

These are bullets with steps:

  • These are steps and bullets
  • These are steps and bullets
    1. These are steps and bullets
    2. These are steps and bullets
  • These are steps and bullets
These are steps with bullets:
#These are steps and bullets
#These are steps and bullets
#*These are steps and bullets
#*These are steps and bullets
#These are steps and bullets
 
These are bullets with steps:
*These are steps and bullets
*These are steps and bullets
*#These are steps and bullets
*#These are steps and bullets
*These are steps and bullets