「テンプレート:PAGENAMEBASE」の版間の差分
提供: miniwiki
ja>Svensson1 |
(ページの作成:「{{ #switch: {{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1 | 1 | 0 }}{{str ≤ len | {{PAGENAME}} | 49 <!-- The max {{str find}} can handle is 50 --> | 1…」) |
||
1行目: | 1行目: | ||
− | {{{{{| | + | {{ |
− | {{documentation}}</noinclude> | + | #switch: |
+ | {{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1 | ||
+ | | 1 | ||
+ | | 0 | ||
+ | }}{{str ≤ len | {{PAGENAME}} | 49 | ||
+ | <!-- The max {{str find}} can handle is 50 --> | ||
+ | | 1 | ||
+ | | 0 }}<!-- | ||
+ | |||
+ | -->| 10 = {{PAGENAME}}<!-- | ||
+ | |||
+ | -->| 11 = {{ | ||
+ | ''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{#expr: {{str find|{{PAGENAME}}|(}} - 1}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} + 1 }}<!-- | ||
+ | |||
+ | -->| 01 = ''{{PAGENAME}}''<!-- | ||
+ | |||
+ | -->| 00 = {{FULLPAGENAME}}<!-- | ||
+ | |||
+ | -->}}<noinclude> | ||
+ | {{documentation}} | ||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
+ | </noinclude> |
2018/8/2/ (木) 02:40時点における版
{{
- switch:
0構文エラー: 認識できない区切り文字「{」です。| 10 = PAGENAMEBASE| 11 = テンプレート:'''' PAGENAMEBASE
edit Documentation