模板:Squote:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的6个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly>{{CSS|Quote|10}}<table class="quotetable lang-{{#ifeq:{{{lang|}}}|en|en|zh}}"> |
|||
<includeonly>{{#vardefine:quote_before|{{#invoke:Quote|split|{{{1|引文}}}|part=before}}}}{{#vardefine:quote_after|{{#invoke:Quote|split|{{{1|引文}}}|part=after}}}}{{#if:{{#var:quote_before}}| |
|||
{{#if:{{#var:quote_last}}| |
|||
{{#ifeq:{{#var:quote_before}}|{{#var:quote_last}}| |
|||
{{#if: |
|||
{{#pos:{{#var:quote_after}}|(男)}}{{#pos:{{#var:quote_after}}|(女)}} |
|||
|<!-- Do nothing if quote_after contains either gender marker --> |
|||
|{{#vardefine:quote_before|}}<!-- Clear quote_before if identical to quote_last and no gender markers --> |
|||
}} |
|||
}} |
|||
}} |
|||
}}<table class="quotetable"> |
|||
<tr> |
<tr> |
||
<td rowspan="2" class="decorativesquote"> |
<td rowspan="2" class="decorativesquote"></td> |
||
<td class="squotetext">“{{{1|引文}}}”</td> |
|||
</ |
</tr> |
||
<td class="squotetext{{#ifeq:{{{text|}}}|english|english|}}">{{#if:{{#var:quote_before}}|{{#var:quote_before}}:{{#vardefine:quote_last|{{#var:quote_before}}}}|}}“{{#if:{{#var:quote_after}}|{{#var:quote_after}}|{{{1|引文}}}}}” |
|||
</td></tr> |
|||
{{#if:{{{2|}}}|<nowiki /> |
{{#if:{{{2|}}}|<nowiki /> |
||
<tr> |
<tr> |
||
<td class="quotesource |
<td class="quotesource">— {{{2|}}}</td> |
||
</tr> |
|||
}}</table></includeonly><noinclude>{{ |
}}</table></includeonly><noinclude>{{Documentation}}</noinclude> |
||