Help:Useful Templates: Difference between revisions

Content deleted Content added
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 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}}
Line 35:
 
= Caution =
<pre>{{Caution|Please ensure to replace the cables in the original orderpositions after controller replacement to avoid unexpected performance issues}}</pre>
Looks like this:<br>
{{Caution|Please ensure to replace the cables in the original orderpositions after controller replacement to avoid unexpected performance issues}}
<br>
 
<pre>{{Caution|Please ensure to replace the cables in the original orderpositions 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 orderpositions after controller replacement to avoid unexpected performance issues|caution-red}}
<br><br>
 
Line 61:
 
= Legend =
{| class="wikitable" style="background-color:inherit;"
|+
! Wiki Markup
! Rendered Output
|-
|
<pre>{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
Line 73:
* Not Applicable {{NA}}
}</pre>
|
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
Line 81:
}}
|-
|
<pre>{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
Line 88:
* Not Applicable {{NA}}
|legend-blue}}</pre>
|
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
Line 95:
* Not Applicable {{NA}}
|legend-blue}}
|-
|
<pre>{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
Line 104:
|legend-clear}}</pre>
|
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
Line 111:
|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 =
Line 309 ⟶ 322:
| {{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}}
|}
 
Line 405 ⟶ 428:
|
<pre class="inline">
{|{{table|sort}}
{| class="wikitable"
! {{vert header|stp=1|Regular column}}
|+
! {{vert header|stp=1|Vertical value column}}
!{{Vertical Text|long text}}
! {{vert header|stp=1|nb=1|cellstyle=background-color:gold|Thin gold column}}
!{{Vertical Text|longer text}}
! {{vert header|nb=1|Unsortable column}}
!{{Vertical Text|even longer text}}
!{{Vertical Text|example text}}
|-
|a1 0 || b1{{vert header|va=middle|1}} || c11 || d12
|-
|a2 3 || b2{{vert header|va=middle|5}} || c28 || d213
|-
! {{vert header|va=top|Regular column}}
|a3 || b3 || c3 || d3
! {{vert header|va=top|Vertical value column}}
|-
! {{vert header|nb=1|va=top|cellstyle=background-color:gold|Thin gold column}}
|a4 || b4 || c4 || d4
! {{vert header|nb=1|va=top|Unsortable column}}
|}
</pre>
|
{| {{table|sort|class="wikitable"floatright}}
! {{vert header|stp=1|Regular column}}
|+
! {{vert header|stp=1|Vertical value column}}
!{{Vertical Text|long text}}
! {{vert header|stp=1|nb=1|cellstyle=background-color:gold|Thin gold column}}
!{{Vertical Text|longer text}}
! {{vert header|nb=1|Unsortable column}}
!{{Vertical Text|even longer text}}
!{{Vertical Text|example text}}
|-
|a1 || b1 || c1 || d1
|-
|a2 0 || b2{{vert header|va=middle|1}} || c21 || d22
|-
|a3 3 || b3{{vert header|va=middle|5}} || c38 || d313
|-
! {{vert header|va=top|Regular column}}
|a4 || b4 || c4 || d4
! {{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}}
|}
|}