Help:Useful Templates: Difference between revisions
Content deleted Content added
Nick Parrott (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| (49 intermediate revisions by 2 users not shown) | |||
Line 1:
{{
= Note =
<pre>{{Note|Don't do that, do this..}}</pre>
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>
= Tip =
<pre>{{Tip|Plug the FC Link into the Port Labelled 1A}}</pre>
Looks like this:<br>
{{Tip|Plug the FC Link into the Port Labelled 1A}}
<br><br>
= 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>
= Warning =
<pre>{{Warning|The CPU die is likely to be very-hot, allow to cool before handling!}}</pre>
Looks like this:<br>
{{Warning|The CPU die is likely to be very-hot, allow to cool before handling!}}
<br><br>
= Caution =
<pre>{{Caution|Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues}}</pre>
Looks like this:<br>
{{Caution|Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues}}
<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>
= Escalate =
<pre>{{Escalate}}</pre>
Looks like this:<br>
{{Escalate}}
<pre>{{Escalate|a Principle-Engineer}}</pre>
Looks like this:<br>
{{Escalate|a Principle-Engineer}}
<pre>{{Escalate|Engineering via L3}}</pre>
Looks like this:<br>
{{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>
Looks like this:<br>
Highlight {{H|words in the middle}} of a sentence
<br>
<code><nowiki>{{highlight | text | color (optional) | expiration (optional) }}</nowiki></code>
{| class="wikitable"
|-
! code !! output !! notes
|-
| <nowiki>{{highlight | text }}</nowiki> || {{highlight | text }} || The default highlight color is yellow
|-
| <nowiki>{{highlight | text | lightblue }}</nowiki> || {{highlight | text | lightblue }} || The second parameter is the highlight color
|-
| <nowiki>{{highlight | text | pink | 2011-01-01 }}</nowiki> || {{highlight | text | pink | 2011-01-01 }} || This is not highlighted since 1 January 2011 is in the past
|-
| <nowiki>{{highlight | text | pink |</nowiki> {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} <nowiki>}}</nowiki> || {{highlight | text || {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}} || There is no highlighting on the expiration date ({{Purge|purge this page's server cache}} if today's date is not shown)
|-
| <nowiki>{{highlight | text | #00FF00 | 1 January 2099 }}</nowiki> || {{highlight | text | #00FF00 | 1 January 2099 }} || This is highlighted since 1 January 2099 is in the future
|-
| <nowiki>{{highlight | text || January 1, 2099 }}</nowiki> || {{highlight | text || January 1, 2099 }} || Note the color parameter, left blank, is still represented<br> with a pipe (followed by the expiration parameter pipe)
|}
<br><br>
= Inline Comment =
<pre>Restart the Appliance {{Comment|Only for Version 3 or Higher}}</pre>
Line 24 ⟶ 161:
{{Draft}}
<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>
{{
== KCS Article # ==
<pre>{{KCS|595726}}</pre>
Looks like this:<br>
{{KCS|595726}}
<br><br>
== FluidFS ClearQuest
<pre>{{CQ|6510}}</pre>
Looks like this:<br>
{{CQ|6510}}
<br><br>
== Montpellier Lab Bugzilla # ==
<pre>{{Template:MTPBugz|114}}</pre>
Looks like this:<br>
{{Template:MTPBugz|114}}
<br><br>
Line 62 ⟶ 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 84 ⟶ 259:
Compellent Get Command:
<pre>
{{Get|multi howmany|example=
<pre>
<11440 (?)>
Line 102 ⟶ 277:
Will produce this:
{{Get|multi howmany|example=
<pre>
<11440 (?)>
Line 117 ⟶ 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}}
|}
|}
| |||