Template:Pairing list/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} {{lua|Module:List}} __NOTOC__ == Usage == This template creates an ordered Pairing List. See below on how to include text in the middle of the list that isn't a numbered item. == Syntax == ; Simple : {{tji|Pairing list|entry1|entry2| ...}} ; Offset starting value : {{tji|Pairing list|start:start number|entry1|entry2|...}} == Examples == <div style="float:right;width:45%"> {{Pairing...") |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
}}</div> | }}</div> | ||
{{Pre|width= | {{Pre|width=40%|{{{{tcn|Pairing list}} | ||
| {{((}}{{tcp|ple}}|{{tcv|Hatano Wataru}}|{{tcv|羽多野渉}}|{{tcv|Tachibana Shinnosuke}}|{{tcv|立花慎之介}}{{))}} | | {{((}}{{tcp|ple}}|{{tcv|Hatano Wataru}}|{{tcv|羽多野渉}}|{{tcv|Tachibana Shinnosuke}}|{{tcv|立花慎之介}}{{))}} | ||
| {{((}}{{tcp|ple}}|{{tcv|Yasumoto Hiroki}}|{{tcv|安元洋貴}}|{{tcv|Nojima Hirofumi}}|{{tcv|野島裕史}}{{))}} | | {{((}}{{tcp|ple}}|{{tcv|Yasumoto Hiroki}}|{{tcv|安元洋貴}}|{{tcv|Nojima Hirofumi}}|{{tcv|野島裕史}}{{))}} | ||
Line 26: | Line 26: | ||
}} }} | }} }} | ||
{{clear}}{{br}} | {{clear}}{{br}} | ||
'''Example of breaking a list to include non-numbered text''' | '''Example of breaking a list to include non-numbered text''' | ||
Line 40: | Line 39: | ||
}}</div> | }}</div> | ||
{{Pre|width= | {{Pre|width=40%|{{{{tcn|Pairing list}} | ||
| {{((}}{{tcp|ple}}|{{tcv|Hatano Wataru}}|{{tcv|羽多野渉}}|{{tcv|Tachibana Shinnosuke}}|{{tcv|立花慎之介}}{{))}} | | {{((}}{{tcp|ple}}|{{tcv|Hatano Wataru}}|{{tcv|羽多野渉}}|{{tcv|Tachibana Shinnosuke}}|{{tcv|立花慎之介}}{{))}} | ||
| {{((}}{{tcp|ple}}|{{tcv|Yasumoto Hiroki}}|{{tcv|安元洋貴}}|{{tcv|Nojima Hirofumi}}|{{tcv|野島裕史}}{{))}} | | {{((}}{{tcp|ple}}|{{tcv|Yasumoto Hiroki}}|{{tcv|安元洋貴}}|{{tcv|Nojima Hirofumi}}|{{tcv|野島裕史}}{{))}} | ||
Line 50: | Line 49: | ||
{{space|5}}Note: Indent the text (above example '''Story 2''') using the shown method or using {{tl|Block indent}} with {{para|left|4}}, like {{tlc|bi|left {{=}} 4|Text}}. | {{space|5}}Note: Indent the text (above example '''Story 2''') using the shown method or using {{tl|Block indent}} with {{para|left|4}}, like {{tlc|bi|left {{=}} 4|Text}}. | ||
{{in|10}}Do {{fc|red|not}} use {{tl|br}} because it does not indent the text enough. | {{in|10}}Do {{fc|red|not}} use {{tl|br}} because it does not indent the text enough. | ||
== TemplateData == | == TemplateData == | ||
Line 71: | Line 69: | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category: | [[Category:CD page templates]] | ||
[[Category: | [[Category:List templates]] | ||
}}}}</includeonly> | }}}}</includeonly> |
Latest revision as of 03:42, 20 August 2023
It contains usage information, categories and other content that is not part of the original template page.
|
This template uses Lua: |
Usage
This template creates an ordered Pairing List. See below on how to include text in the middle of the list that isn't a numbered item.
Syntax
- Simple
- {{Pairing list
|entry1 |entry2 |...}} - Offset starting value
- {{Pairing list
|start=start number |entry1 |entry2 |...}}
Examples
{{Pairing list | {{ple|Hatano Wataru|羽多野渉|Tachibana Shinnosuke|立花慎之介}} | {{ple|Yasumoto Hiroki|安元洋貴|Nojima Hirofumi|野島裕史}} | {{ple|Suzuki Tatsuhisa|鈴木達央|Kaji Yuuki|梶裕貴}} | {{ple|Kishio Daisuke|岸尾だいすけ|Toriumi Kousuke|鳥海浩輔}} }}
Example of breaking a list to include non-numbered text
- Use {{Indent}} with a value of 5.
{{Pairing list | {{ple|Hatano Wataru|羽多野渉|Tachibana Shinnosuke|立花慎之介}} | {{ple|Yasumoto Hiroki|安元洋貴|Nojima Hirofumi|野島裕史}} {{in|5}} ''' Story 2''' | {{ple|Suzuki Tatsuhisa|鈴木達央|Kaji Yuuki|梶裕貴}} | {{ple|Kishio Daisuke|岸尾だいすけ|Toriumi Kousuke|鳥海浩輔}} }}
Note: Indent the text (above example Story 2) using the shown method or using {{Block indent}} with |left=4
, like {{bi|left = 4|Text}}
.
Do not use {{br}} because it does not indent the text enough.
TemplateData
Creates an ordered pairing list for BLCD pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Start | start | Label for the first item in the list; a positive integer
| String | optional |