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>") |
|||
(2 intermediate revisions by the same user not shown) | |||
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="width:100%;display:flex"> | |
− | <includeonly> | + | {{#ifeq: {{{1}}} |0| <div>{{{2}}}</div> | <div style="margin-left:{{#expr:{{{1}}} * 30 }}px;">{{{2}}}</div> }} |
− | <div style="display:flex"> | + | <div style="flex:1;border:0;border-bottom: 2px #272727;border-style: dotted;margin-bottom: 6px;margin-left: 4px; margin-right: 4px;"></div> |
− | <div> | + | <div style="display:flex;justify-content:flex-end;">{{{3}}}</div> |
− | <div> | + | </div></includeonly> |
− | <div> | ||
− | </includeonly> |
Latest revision as of 14:04, 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
|