Difference between revisions of "Template:Is"
Jump to navigation
Jump to search
(Created page with "Stands for <code>item summary</code>. <noinclude> {{{is}}} </noinclude> <includeonly> <div style="display:flex"> <div>heading</div> <div>page number</div> <div> </includeonly>") |
|||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
Stands for <code>item summary</code>. | Stands for <code>item summary</code>. | ||
− | < | + | |
− | {{{is}}} | + | {| class="wikitable" |
+ | |- | ||
+ | ! Code !! Example !! Result | ||
+ | |- | ||
+ | | <code><nowiki>{{raw:data:is|number|title|number}}</nowiki></code> || <code><nowiki>{{raw:data:is|0|title|100}}</code></nowiki></code> || <div style="width:400px;">{{is|0|title|100}}</div> | ||
+ | |- | ||
+ | | <code><nowiki>{{raw:data:is|number|title|number}}</nowiki></code> || <code><nowiki>{{raw:data:is|1|subtitle|101}}</code></nowiki></code> || <div style="width:400px;">{{is|1|subtitle|101}}</div> | ||
+ | |- | ||
+ | | <code><nowiki>{{raw:data:is|number|title|number}}</nowiki></code> || <code><nowiki>{{raw:data:is|2|another subtitle|102}}</code></nowiki></code> || <div style="width:400px;">{{is|2|another subtitle|102}}</div> | ||
+ | |- | ||
+ | | <code><nowiki>{{raw:data:is|number|title|number}}</nowiki></code> || <code><nowiki>{{raw:data:is|0|another title|103}}</code></nowiki></code> || <div style="width:400px;">{{is|0|another title|103}}</div> | ||
+ | |} | ||
</noinclude> | </noinclude> | ||
− | + | <includeonly><div style="display:flex"> | |
− | <includeonly> | + | {{#ifeq: {{{1}}} |0| <div style="flex:1;">{{{2}}}</div> | <div style="padding-left:{{#expr:{{{1}}} * 30 }}px;flex:1;">{{{2}}}</div> }} |
− | <div style="display:flex"> | + | <div style="display:flex;flex:1;justify-content:flex-end">{{{3}}}</div> |
− | <div> | + | </div></includeonly> |
− | <div> | ||
− | <div> | ||
− | </includeonly> |
Revision as of 05:41, 2 October 2020
Stands for item summary
.
Code | Example | Result |
---|---|---|
{{raw:data:is|number|title|number}} |
{{raw:data:is|0|title|100}}</code> |
title
100
|
{{raw:data:is|number|title|number}} |
{{raw:data:is|1|subtitle|101}}</code> |
subtitle
101
|
{{raw:data:is|number|title|number}} |
{{raw:data:is|2|another subtitle|102}}</code> |
another subtitle
102
|
{{raw:data:is|number|title|number}} |
{{raw:data:is|0|another title|103}}</code> |
another title
103
|