Help:Useful Templates: Difference between revisions

Content deleted Content added
No edit summary
 
(10 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;"
<pre>{{Legend|
|+
! Wiki Markup
! Rendered Output
|-
|
<pre>{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}|legend}}</pre>
}</pre>
Looks like this:
|
{{Legend|
{{Note-Legend|
* Field Exists {{OK}}
* Not Available {{NOK}}
* Not Important {{Meh}}
* Not Applicable {{NA}}|legend}}
}}
|-
|
<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 =
Line 270 ⟶ 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 355 ⟶ 417:
| 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}}
|}
|}