Help:Useful Templates: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) No edit summary |
||
| (35 intermediate revisions by the same user not shown) | |||
Line 4:
Looks like this:<br>
{{Note|Don't do that, do this..}}
<br>
<pre>{{Note|Don't do that, do this..|reminder-yellow}}</pre>
Looks like this:<br>
{{Note|Don't do that, do this..|reminder-yellow}}
<br><br>
Line 13 ⟶ 18:
= Info =
<pre>{{Info|It is helpful to know that ...}}</pre>
Looks like this:<br>
{{Info|It is helpful to know that ...}}
<br>
<pre>{{Info|It is helpful to know that ...|info-blue}}</pre>
Looks like this:<br>
{{Info|It is helpful to know that ...|info-blue}}
<br><br>
Line 25 ⟶ 35:
= Caution =
<pre>{{Caution|Please ensure to replace the cables in the original
Looks like this:<br>
{{Caution|Please ensure to replace the cables in the original
<br>
<pre>{{Caution|Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues|caution-red}}</pre>
Looks like this:<br>
{{Caution|Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues|caution-red}}
<br><br>
Line 43 ⟶ 58:
{{Escalate|Engineering via L3}}
<br>
= Legend =
{| class="wikitable" style="background-color:inherit;"
|+
! Wiki Markup
! Rendered Output
|-
|
<pre>{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
}</pre>
|
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
}}
|-
|
<pre>{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
|legend-blue}}</pre>
|
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
|legend-blue}}
|-
|
<pre>{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
|legend-clear}}</pre>
|
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
|legend-clear}}
|}
<nowiki>{{legend|black|Africa}}</nowiki>
<nowiki>{{legend|green|Americas}}</nowiki>
<nowiki>{{legend|blue|Oceania}}</nowiki>
<nowiki>{{legend|#ffa|Europe|outline=silver}}</nowiki>
<nowiki>{{legend|#ff2800|Asia|outline=#A2A9B1}}</nowiki> <small><span style="color:gray">''(#A2A9B1 is the [[Help:Basic table markup|wikitables]] border color.)''</span></small>
{{legend|black|Africa}}
{{legend|green|Americas}}
{{legend|blue|Oceania}}
{{legend|#ffa|Europe|outline=silver}}
{{legend|#ff2800|Asia|outline=#A2A9B1}}
= Highlight =
<pre>Highlight {{H|words in the middle}} of a sentence</pre>
Line 80 ⟶ 162:
<br><br>
= Referencing/Linking External Sites =
== Online Analytics ( ola.dub.emea.dell.com ) ==
<pre>{{OLA|673cdae3d6d6991afc1aa459e33d625125e342ed}}</pre>
Looks like this:<br>
{{OLA|673cdae3d6d6991afc1aa459e33d625125e342ed}}
== Oracle-Knowledge Solution ( kb.dell.com ) ==
<pre>{{KB|SLN289175}}</pre>
Looks like this:<br>
{{KB|SLN289175}}
== Equallogic/NDC Bugzilla # ==
<pre>{{Bugzilla|5403}}</pre>
Looks like this:<br>
{{Bugzilla|5403}}
== KCS Article # ==
<pre>{{KCS|595726}}</pre>
Line 109 ⟶ 199:
<pre>
{{flatlist |
* {{KB|SLN289175}}
* {{
* {{
* {{
}}</pre>
Looks like this:<br>
{{flatlist |
* {{KB|SLN289175}}
* {{
* {{
* {{
}}
<pre>
{{flatlist |
* A
* AB
* ABC
* X
* XYY
* XYZZZ
}}</pre>
Looks like this:<br>
{{flatlist |
* A
* AB
* ABC
* X
* XYY
* XYZZZ
}}
<br>
<pre>
{{flatlist|
# [[first]]
# [[second]]
# [[third]]
# [[fourth]]
# [[fifth]]
# [[sixth]]
}}
</pre>
produces:
{{flatlist|
# [[first]]
# [[second]]
# [[third]]
# [[fourth]]
# [[fifth]]
# [[sixth]]
}}<br><br>
= Set and Get Commands =
<br><br>
Line 131 ⟶ 259:
Compellent Get Command:
<pre>
{{Get|multi howmany|example=
<pre>
<11440 (?)>
Line 149 ⟶ 277:
Will produce this:
{{Get|multi howmany|example=
<pre>
<11440 (?)>
Line 164 ⟶ 292:
<11440 (?)>
</pre>}}
= Hidden / Collapsible Areas =
=== Reveal ===
This is possibly the simplest reveal template:
{| class="wikitable"
| {{rh}} | Code
| <pre>What is the difference between Zoning and Lun Masking?<br>
{{Reveal|
* LUN Masking – Allocate a LUN number to a volume at the Storage Array and limit access to specific hosts, the storage controller enforces the access process
* Zoning – this is performed at the fibre switch level ensures initiators do not cross talk
}}<br><br>
</pre>
|-
| {{rh}} | Result
| What is the difference between Zoning and Lun Masking?<br>
{{Reveal|
* LUN Masking – Allocate a LUN number to a volume at the Storage Array and limit access to specific hosts, the storage controller enforces the access process
* Zoning – this is performed at the fibre switch level ensures initiators do not cross talk
}}<br><br>
|}
===Basic===
In this example only the two required parameters are specified.
{| class="wikitable"
| {{rh}} | Code
| <pre>{{hidden|Title text here|Body text line 1<br/>Body text line 2}}</pre>
|-
| {{rh}} | Result
| {{Hidden|Title text here|Body text line 1<br/>Body text line 2}}
|}
Alternative Display:
In this example only the two required parameters are specified.
{| class="wikitable"
| {{rh}} | Code
| <pre>{{Hidden|Title text here|Body text line 1<br/>Body text line 2|toggle=left|expandtext="+"|contentstyle = text-align: left|ta1 = left}}</pre>
|-
| {{rh}} | Result
| {{Hidden|Title text here|Body text line 1<br/>Body text line 2|toggle=left|expandtext="+"|contentstyle = text-align: left|ta1 = left}}
|}
===Header background===
{| class="wikitable"
| {{rh}} | Code
| <source lang="css" style="overflow:auto;">
{{hidden
|Title text here
|Body text line 1<br/>Body text line 2
|headerstyle=background:#ccccff
|style=text-align:center;
}}
</source>
|-
| {{rh}} | Result
| {{Hidden|Title text here|Body text line 1<br/>Body text line 2|headerstyle=background:#ccccff|style=text-align:center;}}
|}
===Border with toggle left===
{| class="wikitable"
| {{rh}} | Code
| <source lang="css" style="overflow:auto;">
{{hidden
|Title text here
|Body text line 1<br/>Body text line 2
|border=3px solid black
|toggle=left
|collapsetext="-"
|expandtext="+"
}}
</source>
|-
| {{rh}} | Result
| {{Hidden|Title text here|Body text line 1<br/>Body text line 2|border=3px solid black|toggle=left|collapsetext="-"|expandtext="+"}}
|}
=== Expanded by default using hlist ===
{| class="wikitable"
| {{rh}} | Code
| <source lang="css" style="overflow:auto;">
{{hidden
|Horizontal List
|
*Bullet 1
*Bullet 2
*Bullet 3
|collapsetext="-"
|expandtext="+"
|expanded=on
|hlist=true
}}
</source>
|-
| {{rh}} | Result
| {{Hidden|Horizontal List|
*Bullet 1
*Bullet 2
*Bullet 3
|collapsetext="-"|expandtext="+"|expanded=on|hlist=true}}
|}
===CSS===
{| class="wikitable"
| {{rh}} | Code
|
<source lang="css">
{{hidden
| style = border:1px dashed red; width: 50%;
| headerstyle = background: #ccccff; font-size: 110%;
| contentstyle = text-align: center; color:green;
| header = Title text here
| content = Body text line 1<br />Body text line 2<br />Body text line 3
}}</source>
|-
| {{rh}} | Result
|
{{Hidden
| style = border:1px dashed red; width: 50%;
| headerstyle = background: #ccccff; font-size: 110%;
| contentstyle = text-align: center; color:green;
| header = Title text here
| content = Body text line 1<br />Body text line 2<br />Body text line 3
}}
|}
= Tables =
=== Vertical Text ===
{| class="wikitable"
|+
! Wiki Markup
! Renders as
|-
|
<pre class="inline">
{|{{table|sort}}
! {{vert header|stp=1|Regular column}}
! {{vert header|stp=1|Vertical value column}}
! {{vert header|stp=1|nb=1|cellstyle=background-color:gold|Thin gold column}}
! {{vert header|nb=1|Unsortable column}}
|-
| 0 || {{vert header|va=middle|1}} || 1 || 2
|-
| 3 || {{vert header|va=middle|5}} || 8 || 13
|-
! {{vert header|va=top|Regular column}}
! {{vert header|va=top|Vertical value column}}
! {{vert header|nb=1|va=top|cellstyle=background-color:gold|Thin gold column}}
! {{vert header|nb=1|va=top|Unsortable column}}
|}
</pre>
|
{|{{table|sort|class=floatright}}
! {{vert header|stp=1|Regular column}}
! {{vert header|stp=1|Vertical value column}}
! {{vert header|stp=1|nb=1|cellstyle=background-color:gold|Thin gold column}}
! {{vert header|nb=1|Unsortable column}}
|-
| 0 || {{vert header|va=middle|1}} || 1 || 2
|-
| 3 || {{vert header|va=middle|5}} || 8 || 13
|-
! {{vert header|va=top|Regular column}}
! {{vert header|va=top|Vertical value column}}
! {{vert header|nb=1|va=top|cellstyle=background-color:gold|Thin gold column}}
! {{vert header|nb=1|va=top|Unsortable column}}
|}
|}
| |||