Template:Get1: Difference between revisions
Appearance
| [unchecked revision] | [unchecked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) m 1 revision imported |
Caleb Cooper (talk | contribs) m Text replacement - "|sect=" to "|section=" |
||
| Line 32: | Line 32: | ||
Syntax Examples - |
Syntax Examples - |
||
Only Specify the Command: |
Only Specify the Command: |
||
<pre>{{Get|command| |
<pre>{{Get|command|section=YourSectionName}}</pre> |
||
Note: If you omit the sect=YourSectionName, by default will be used the section example. The sect option must be the last. |
Note: If you omit the sect=YourSectionName, by default will be used the section example. The sect option must be the last. |
||
Show alternative Text: |
Show alternative Text: |
||
<pre>{{Get|command|alt text| |
<pre>{{Get|command|alt text|section=YourSectionName}}</pre> |
||
Show alternative Text and specify code sample: |
Show alternative Text and specify code sample: |
||
<pre>{{Get|command|alt text|<pre>sample code</pre>| |
<pre>{{Get|command|alt text|<pre>sample code</pre>|section=YourSectionName}}</pre> |
||
With the Word "open" the code sample is shown by default: |
With the Word "open" the code sample is shown by default: |
||
<pre>{{Get|command|alt text|<pre>sample code</pre>|open| |
<pre>{{Get|command|alt text|<pre>sample code</pre>|open|section=YourSectionName}}</pre> |
||
</noinclude> |
</noinclude> |
||
Latest revision as of 09:14, 31 March 2020
{{{1}}}
Need an Example
Syntax Examples - Only Specify the Command:
{{Get|command|section=YourSectionName}}
Note: If you omit the sect=YourSectionName, by default will be used the section example. The sect option must be the last.
Show alternative Text:
{{Get|command|alt text|section=YourSectionName}}
Show alternative Text and specify code sample:
{{Get|command|alt text|<pre>sample code</pre>|section=YourSectionName}}
With the Word "open" the code sample is shown by default:
{{Get|command|alt text|<pre>sample code</pre>|open|section=YourSectionName}}