Help:Template cheatsheet: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb cooper (talk | contribs) No edit summary Tag: 2017 source edit |
||
| (13 intermediate revisions by 2 users not shown) | |||
Line 213:
== Inline Infoboxes ==
{{markupv
|t={{Tl|Note}}
|m=<nowiki>{{Note|Don't do that, do this..}}</nowiki>|r={{Note|Don't do that, do this..}}
}}{{markupv
|m=<nowiki>{{Note|Don't do that, do this..|reminder-yellow}}</nowiki>|r={{Note|Don't do that, do this..|reminder-yellow}}
}}
{{markupv
|t={{Tl|Tip}} |m=<nowiki>{{Tip|Plug the FC Link into the Port Labelled 1A}}</nowiki>|r={{Tip|Plug the FC Link into the Port Labelled 1A}}
}}
{{markupv
|t={{Tl|Info}} |m=<nowiki>{{Info|It is helpful to know that ...}}</nowiki>|r={{Info|It is helpful to know that ...}}
}}
{{markupv
Line 227 ⟶ 228:
}}
{{markupv
|t={{Tl|Warning}} |m=<nowiki>{{Warning|The CPU die is likely to be very-hot, allow to cool before handling!}}</nowiki>|r={{Warning|The CPU die is likely to be very-hot, allow to cool before handling!}}
}}
{{markupv
|t={{Tl|Caution}} |m=<nowiki>{{Caution|Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues}}</nowiki>|r={{Caution|Please ensure to replace the cables in the original positions after controller replacement to avoid unexpected performance issues}}
}}
{{markupv
Line 236 ⟶ 237:
}}
{{markupv
|t={{Tl|Escalate}} |m=<nowiki>{{Escalate|a Principle-Engineer}}</nowiki>|r={{Escalate|a Principle-Engineer}}
}}
{{markupv
|m=<nowiki>{{Escalate|Engineering via L3}}</nowiki>|r={{Escalate|Engineering via L3}}
}}
== Story Infoboxes ==
{{markupv|t={{Tl|Elephant}}
|m=<nowiki>{{Elephant|This is a strong start to my story|elephant}}</nowiki>
|r={{Elephant|This is a strong start to my story|elephant}} }}
{{markupv|t={{Tl|Crystal Ball}}
|m=<nowiki>{{Crystal Ball|You know what is definitely not going to happen}}</nowiki>
|r={{Crystal Ball|You know what is definitely not going to happen}} }}
{{markupv|t={{Tl|Fun}}
|m=<nowiki>{{Fun|If I can get you laughing we will all be smarter}}</nowiki>
|r={{Fun|If I can get you laughing we will all be smarter}} }}
{{markupv|t={{Tl|Backpack}}
|m=<nowiki>{{Backpack|Let me load you up with expectations}}</nowiki>
|r={{Backpack|Let me load you up with expectations}} }}
{{markupv|t={{Tl|Tension}}
|m=<nowiki>{{Tension|There is one thing I can never tell you}}</nowiki>
|r={{Tension|There is one thing I can never tell you}} }}
{{markupv|t={{Tl|Hourglass}}
|m=<nowiki>{{Hourglass|Just wait for a long time while I tell you lots and lots and lots of unnecessary details}}</nowiki>
|r={{Hourglass|Just wait for a long time while I tell you lots and lots and lots of unnecessary details}} }}
{{markupv|t={{Tl|Breadcrumbs}}
|m=<nowiki>{{Breadcrumbs|Let me drop some clues for you to follow . . . }}</nowiki>
|r={{Breadcrumbs|Let me drop some clues for you to follow . . . }} }}
{{markupv|t={{Tl|Climax}}
|m=<nowiki>{{Note|lets highlight the climax of this story!}}</nowiki>
|r={{Note|lets highlight the climax of this story!}} }}
{{markupv|t={{Tl|Trigger}}
|m=<nowiki>{{Trigger|this is the starting action that builds to the climax}}</nowiki>
|r={{Trigger|this is the starting action that builds to the climax}} }}
{{markupv|t={{Tl|Paint}}
|m=<nowiki>{{Paint|Better paint over this boring bit with humor or suspense}}</nowiki>
|r={{Paint|Better paint over this boring bit with humor or suspense}} }}
Line 1,112 ⟶ 1,146:
|{{Tl|transform-rotate}}
|
|<syntaxhighlight lang=html inline=1
|<syntaxhighlight lang=html inline=1
|<span style="{{Transform-rotate|90}}">5</span>
|Shorthanded CSS code for rotating elements inside style attribute.
Line 1,119 ⟶ 1,153:
|{{Tl|writing-mode}}
|
|<syntaxhighlight lang=html inline=1><div style="{{writing-mode| direction }}">transformed text</div></syntaxhighlight>
|<syntaxhighlight lang=html inline=1><div style="{{writing-mode|v1}}">Lorem ipsum...</div></syntaxhighlight>
|<div style="{{writing-mode|v1}}">Lorem ipsum...</div>
|Shortcut for adding writing mode property using CSS
|-
|{{Tl|transform}}
Line 1,133 ⟶ 1,167:
|{{Tl|mirrorH}}
|
| {{center}} {{smallcaps|no parameters}}
|<syntaxhighlight lang=html inline=1>A B <span style="{{mirrorH}}">C</span> D</syntaxhighlight>
|A B <span style="{{mirrorH}}">C</span> D
|Shorthanded CSS code for horizontally mirroring elements inside style attribute
|-
|{{Tl|mirrorV}}
|
| {{center}} {{smallcaps|no parameters}}
|<syntaxhighlight lang=html inline=1><span style="{{mirrorV}}">A</span> B C D</syntaxhighlight>
|<span style="{{mirrorV}}">A</span> B C D
|Shorthanded CSS code for vertically mirroring elements inside style attribute
|}
Line 1,808 ⟶ 1,842:
|{{nowraplinks|{{Tl|vertical header}}}}
|{{nowraplinks|{{Tl|vert header}} {{tl|Verth}}}}
|<code><nowiki>
|<code><nowiki>{{vertical header|long text}}</nowiki></code>
|<code><nowiki><span style="writing-mode: vertical-lr; white-space: nowrap; min-width: 20px; transform: rotate(180deg); ">long text</span></nowiki></code>
Line 1,818 ⟶ 1,852:
|<code><nowiki>{{Vertical Text|long text}}</nowiki></code>
|<code><nowiki><span style="writing-mode: vertical-lr; white-space: nowrap; min-width: 20px; transform: rotate(180deg); ">long text</span></nowiki></code>
|
|-
|{{Tl|end}}
|
|<code><nowiki>{{end}}</nowiki></code>
|<code><nowiki></nowiki></code>
|
|
|}
Line 1,927 ⟶ 1,968:
|-
|{{Tl|col-begin}}
|{{tl|C-s}}
|<code><nowiki></nowiki></code>
|<code><nowiki></nowiki></code>
Line 3,440 ⟶ 3,481:
|-
|{{tl|stronggood}}
|
|<code><nowiki></nowiki></code>
|<code><nowiki></nowiki></code>
|
|}
== Typos ==
{| class="wikitable"
|+
!Template
!Usage
!Example
!Rendered
!Description
|-
|{{Tl|sic}}
|
|<code><nowiki></nowiki></code>
|<code><nowiki></nowiki></code>
|
|-
|{{Tl|not a typo}}
|{{Tl|typo}}
|<code><nowiki></nowiki></code>
|<code><nowiki></nowiki></code>
|
|-
|{{Tl|as written}}
|
|<code><nowiki></nowiki></code>
|<code><nowiki></nowiki></code>
|
|-
|{{Tl|text}}
|
|<code><nowiki></nowiki></code>
Line 3,592 ⟶ 3,667:
|
|Web sources not covered by any of the above
|}
== Transclusion ==
{| class="wikitable"
|+
!Template
!Shortcut /
Alternative
!Usage
!Example
!Rendered
!Description
|-
|{{Tl|excerpt}}
|
|<code><nowiki></nowiki></code>
|<code><nowiki></nowiki></code>
|
|
|-
|}
| |||