Jump to content

Help:Useful Templates: Difference between revisions

From pool
Content deleted Content added
No edit summary
No edit summary
 
(36 intermediate revisions by the same user not shown)
Line 4: Line 4:
Looks like this:<br>
Looks like this:<br>
{{Note|Don't do that, do this..}}
{{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>
<br><br>


Line 13: Line 18:


= Info =
= Info =
<pre>{{Info|It is helpful to know that ...}</pre>
<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>
Looks like this:<br>
{{Info|It is helpful to know that ...}
{{Info|It is helpful to know that ...|info-blue}}
<br><br>
<br><br>


Line 25: Line 35:


= Caution =
= Caution =
<pre>{{Caution|Please ensure to replace the cables in the original order after controller replacement to avoid unexpected performance issues}}</pre>
<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>
Looks like this:<br>
{{Caution|Please ensure to replace the cables in the original order after controller replacement to avoid unexpected performance issues}}
{{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>
<br><br>


Line 43: Line 58:
{{Escalate|Engineering via L3}}
{{Escalate|Engineering via L3}}
<br>
<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 =
= Highlight =
<pre>Highlight {{H|words in the middle}} of a sentence</pre>
<pre>Highlight {{H|words in the middle}} of a sentence</pre>
Line 80: Line 162:
<br><br>
<br><br>
= Referencing/Linking External Sites =
= 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 ) ==
== Oracle-Knowledge Solution ( kb.dell.com ) ==
<pre>{{KB|SLN289175}}</pre>
<pre>{{KB|SLN289175}}</pre>
Looks like this:<br>
Looks like this:<br>
{{KB|SLN289175}}
{{KB|SLN289175}}

<br><br>

== Equallogic/NDC Bugzilla # ==
== Equallogic/NDC Bugzilla # ==
<pre>{{Bugzilla|5403}}</pre>
<pre>{{Bugzilla|5403}}</pre>
Looks like this:<br>
Looks like this:<br>
{{Bugzilla|5403}}
{{Bugzilla|5403}}

<br><br>

== KCS Article # ==
== KCS Article # ==
<pre>{{KCS|595726}}</pre>
<pre>{{KCS|595726}}</pre>
Line 109: Line 199:
<pre>
<pre>
{{flatlist |
{{flatlist |
*{{KB|SLN289175}}
* {{KB|SLN289175}}
*{{KCS|590679}}
* {{KB|SLN303005}}
*{{Bug|54473}}
* {{KB|SLN306202}}
*{{CQ|6680}}
* {{KB|SLN289175}}
*{{CQ|6182}}
*{{CQ|6813}}
}}</pre>
}}</pre>
Looks like this:<br>
Looks like this:<br>
{{flatlist |
{{flatlist |
*{{KB|SLN289175}}
* {{KB|SLN289175}}
*{{KCS|590679}}
* {{KB|SLN303005}}
*{{Bug|54473}}
* {{KB|SLN306202}}
*{{CQ|6680}}
* {{KB|SLN289175}}
*{{CQ|6182}}
*{{CQ|6813}}
}}
}}
<br><br>
<br>

<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 =
= Set and Get Commands =
<br><br>
<br><br>
Line 131: Line 259:
Compellent Get Command:
Compellent Get Command:
<pre>
<pre>
{{Get|multi howmany|
{{Get|multi howmany|example=
&#60;pre>
&#60;pre>
<11440 (?)>
<11440 (?)>
Line 149: Line 277:


Will produce this:
Will produce this:
{{Get|multi howmany|
{{Get|multi howmany|example=
<pre>
<pre>
<11440 (?)>
<11440 (?)>
Line 164: Line 292:
<11440 (?)>
<11440 (?)>
</pre>}}
</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}}
|}
|}

Latest revision as of 10:31, 8 December 2020

Note

{{Note|Don't do that, do this..}}

Looks like this:

 
Note:   
Don't do that, do this..


{{Note|Don't do that, do this..|reminder-yellow}}

Looks like this:

 
Note:   
Don't do that, do this..



Tip

{{Tip|Plug the FC Link into the Port Labelled 1A}}

Looks like this:

 
Tip:   
Plug the FC Link into the Port Labelled 1A



Info

{{Info|It is helpful to know that ...}}

Looks like this:

 
  
It is helpful to know that ...


{{Info|It is helpful to know that ...|info-blue}}

Looks like this:

 
  It is helpful to know that ...



Warning

{{Warning|The CPU die is likely to be very-hot, allow to cool before handling!}}

Looks like this:

 
Warning:  
The CPU die is likely to be very-hot, allow to cool before handling!



Caution

{{Caution|Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues}}

Looks like this:

 
Caution:  
Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues


{{Caution|Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues|caution-red}}

Looks like this:

 
Caution:  
Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues



Escalate

{{Escalate}}

Looks like this:

 
Warning:   
Do not attempt the following without first escalating to a Master-Engineer


{{Escalate|a Principle-Engineer}}

Looks like this:

 
Warning:   
Do not attempt the following without first escalating to a Principle-Engineer


{{Escalate|Engineering via L3}}

Looks like this:

 
Warning:   
Do not attempt the following without first escalating to Engineering via L3



Legend

Wiki Markup Rendered Output
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
}
 
Legend:   
  • Field Exists
  • Not Available
  • Not Important
  • Not Applicable
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
|legend-blue}}
 
Legend:   
  • Field Exists
  • Not Available
  • Not Important
  • Not Applicable
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}
|legend-clear}}
 
Legend:   
  • Field Exists
  • Not Available
  • Not Important
  • Not Applicable


{{legend|black|Africa}}
{{legend|green|Americas}}
{{legend|blue|Oceania}}
{{legend|#ffa|Europe|outline=silver}}
{{legend|#ff2800|Asia|outline=#A2A9B1}}  (#A2A9B1 is the wikitables border color.)
  Africa
  Americas
  Oceania
  Europe
  Asia

Highlight

Highlight {{H|words in the middle}} of a sentence

Looks like this:
Highlight words in the middle of a sentence

{{highlight | text | color (optional) | expiration (optional) }}

code output notes
{{highlight | text }} text The default highlight color is yellow
{{highlight | text | lightblue }} text The second parameter is the highlight color
{{highlight | text | pink | 2011-01-01 }} text This is not highlighted since 1 January 2011 is in the past
{{highlight | text | pink | 2026-04-07 }} text There is no highlighting on the expiration date (purge this page's server cache if today's date is not shown)
{{highlight | text | #00FF00 | 1 January 2099 }} text This is highlighted since 1 January 2099 is in the future
{{highlight | text || January 1, 2099 }} text Note the color parameter, left blank, is still represented
with a pipe (followed by the expiration parameter pipe)



Inline Comment

Restart the Appliance {{Comment|Only for Version 3 or Higher}}

Looks like this:
Restart the Appliance ← Only for Version 3 or Higher

Draft Notice

{{Draft}}

Looks like this:

  Draft-Revision  
  Under-Construction  

This page is an early draft ... more to follow soon ...



Referencing/Linking External Sites

Online Analytics ( ola.dub.emea.dell.com )

{{OLA|673cdae3d6d6991afc1aa459e33d625125e342ed}}

Looks like this:
OLA:673cdae3d6d6991afc1aa459e33d625125e342ed


Oracle-Knowledge Solution ( kb.dell.com )

{{KB|SLN289175}}

Looks like this:
KB:SLN289175


Equallogic/NDC Bugzilla #

{{Bugzilla|5403}}

Looks like this:
NDC-Bugz:5403


KCS Article #

{{KCS|595726}}

Looks like this:
KCS:595726



FluidFS ClearQuest Issue #

{{CQ|6510}}

Looks like this:
CQ:6510



Montpellier Lab Bugzilla #

{{Template:MTPBugz|114}}

Looks like this:
MTP-Lab-Bugz:114



Flatlist / Inline-List

{{flatlist |
* {{KB|SLN289175}}
* {{KB|SLN303005}}
* {{KB|SLN306202}}
* {{KB|SLN289175}}
}}

Looks like this:


{{flatlist |
* A
* AB
* ABC
* X
* XYY
* XYZZZ
}}

Looks like this:

  • A
  • AB
  • ABC
  • X
  • XYY
  • XYZZZ


{{flatlist|
# [[first]]
# [[second]]
# [[third]]
# [[fourth]]
# [[fifth]]
# [[sixth]]
}}

produces:



Set and Get Commands



Compellent Get Command:

{{Get|multi howmany|example=
<pre>
<11440 (?)>
multi howmany
<11440 (?)>
NumberOfControllers: 2
I Am HSN 11440 (@0x82971c000)
Leader is HSN 11441 (@0x82972a000)
Licensed for 2 controllers.
Supports 3 controllers.
Controller[0] HSN 11440 SSN 11440 * Peer ci:0
Controller[1] HSN 11441 SSN 11441   Leader ci:1
Controller[2] HSN 0 SSN N/A          N/A
<11440 (?)>
</pre>}}

Will produce this:

multi howmany
<11440 (?)>
multi howmany
<11440 (?)>
NumberOfControllers: 2
I Am HSN 11440 (@0x82971c000)
Leader is HSN 11441 (@0x82972a000)
Licensed for 2 controllers.
Supports 3 controllers.
Controller[0] HSN 11440 SSN 11440 * Peer ci:0
Controller[1] HSN 11441 SSN 11441   Leader ci:1
Controller[2] HSN 0 SSN N/A          N/A
<11440 (?)>



Hidden / Collapsible Areas

Reveal

This is possibly the simplest reveal template:

Code
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>
 
Result What is the difference between Zoning and Lun Masking?
Answer
  • 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



Basic

In this example only the two required parameters are specified.

Code
{{hidden|Title text here|Body text line 1<br/>Body text line 2}}
Result
Title text here

Body text line 1
Body text line 2

Alternative Display: In this example only the two required parameters are specified.

Code
{{Hidden|Title text here|Body text line 1<br/>Body text line 2|toggle=left|expandtext="+"|contentstyle = text-align: left|ta1 = left}}
Result
Title text here

Body text line 1
Body text line 2

Header background

Code
{{hidden
|Title text here
|Body text line 1<br/>Body text line 2
|headerstyle=background:#ccccff
|style=text-align:center;
}}
Result
Title text here

Body text line 1
Body text line 2


Border with toggle left

Code
{{hidden
|Title text here
|Body text line 1<br/>Body text line 2
|border=3px solid black
|toggle=left
|collapsetext="-"
|expandtext="+"
}}
Result
Title text here

Body text line 1
Body text line 2

Expanded by default using hlist

Code
{{hidden
|Horizontal List
|
*Bullet 1
*Bullet 2
*Bullet 3
|collapsetext="-"
|expandtext="+"
|expanded=on
|hlist=true
}}
Result
Horizontal List
  • Bullet 1
  • Bullet 2
  • Bullet 3


CSS

Code
{{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
}}
Result
Title text here

Body text line 1
Body text line 2
Body text line 3

Tables

Vertical Text

Wiki Markup Renders as
{|{{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}}
|}
Regular column
Vertical value column
Thin gold column
Unsortable column
0
1
1 2
3
5
8 13
Regular column
Vertical value column
Thin gold column
Unsortable column