Difference between revisions of "Template:Cc"

From Data JW United
Jump to navigation Jump to search
 
Line 5: Line 5:
 
! Code !! Example !! Result
 
! Code !! Example !! Result
 
|-
 
|-
| <code><nowiki>{{raw:data:cs|10|element}}</nowiki></code> || <code><nowiki>{{raw:data:cs|10|actual text}}</nowiki></code> || <div style="width:400px;">{{cc|65|actual text}} (container is 65px width)</div>
+
| <code><nowiki>{{raw:data:cc|10|element}}</nowiki></code> || <code><nowiki>{{raw:data:cc|10|actual text}}</nowiki></code> || <div style="width:400px;">{{cc|65|actual text}} (container is 65px width)</div>
 
|-
 
|-
| <code><nowiki>{{raw:data:cs|c|10|element}}</nowiki></code> || <code><nowiki>{{raw:data:cs|c|10|actual text}}</nowiki></code> || <div style="width:400px;">{{cc|c|65|actual text}}</div>
+
| <code><nowiki>{{raw:data:cc|c|10|element}}</nowiki></code> || <code><nowiki>{{raw:data:cc|c|10|actual text}}</nowiki></code> || <div style="width:400px;">{{cc|c|65|actual text}}</div>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:10, 9 November 2020

This template is used to create a container of a certain width.

Code Example Result
{{raw:data:cc|10|element}} {{raw:data:cc|10|actual text}}
actual text
(container is 65px width)
{{raw:data:cc|c|10|element}} {{raw:data:cc|c|10|actual text}}
actual text