“Template:Ruby”与“Template:Str crop”:页面之间的差异

H萌娘,万物皆可H的百科全书!
(页面间差异)
跳到导航 跳到搜索
imported>=海豚=
(撤销=海豚=讨论)的版本64094)
 
imported>=海豚=
(创建页面,内容为“<includeonly>{{str_left|{{{1}}}|{{#expr:{{str_len|{{{1}}}}}-{{{2}}}}}}}</includeonly><noinclude> {{引自其他wiki|英文維基百科|enwiki:Template:Str_crop}}…”)
 
第1行: 第1行:
<ruby {{#if:{{{class|}}}|class="{{{class|}}}"}} {{#if:{{{id|}}}|id="{{{id|}}}"}} {{#if:{{{style|{{{css|}}}}}}|style="{{{style|{{{css|}}}}}}"}}><rb data-id="template-ruby" {{#if:{{{rbclass|}}}|class="{{{rbclass|}}}"}} {{#if:{{{rbid|}}}|id="{{{rbid|}}}"}} {{#if:{{{rbsize|}}}|style="font-size:{{{rbsize|}}}"}}>{{#if:{{{3|}}}|-{}-{{lang|{{{3}}}|{{{1}}}}}|-{}-{{{1}}}}}<span class="template-ruby-hidden">(</span></rb><rt {{#if:{{{rtclass|}}}|class="{{{rtclass|}}}"}} {{#if:{{{rtid|}}}|id="{{{rtid|}}}"}} style="font-size:{{{rtsize|0.75em}}}">{{#if:{{{4|}}}|-{}-{{lang|{{{4}}}|{{{2}}}}}|{{#if:{{{3|}}}|-{}-{{lang|{{{3}}}|{{{2}}}}}|-{}-{{{2}}}}}}}</rt><span class="template-ruby-hidden">)</span></ruby><noinclude>
<includeonly>{{str_left|{{{1}}}|{{#expr:{{str_len|{{{1}}}}}-{{{2}}}}}}}</includeonly><noinclude>
{{Documentation}}
{{ 引自其他wiki| 英文維基百科|[[enwiki:Template:Str_crop]]}}
[[Category:格式 模板]]
本模板用于切掉参数<code>{{{1}}}</code> 中的最后<code>{{{2}}}</code> 个字符(不填则视作切掉0个字符
[[Category: 語言 模板]]
 
注:需要使用'''替换引用'''的情况下,可以使用子[[模板:str_crop/subst]]
[[ 分类: 辅助 模板]]
</noinclude>
</noinclude>

2020年3月28日 (六) 12:06的最新版本

Cat ico20.png
注意以下内容最初引自英文維基百科的enwiki:Template:Str_crop,世界观可能与H萌并不相同。内容经过双方不同人员的修改后,可能会有巨大差异。骗你的啦,实际内容几乎一模一样的说QAQ
注意以下内容最初引自英文維基百科的enwiki:Template:Str_crop,世界观可能与H萌并不相同。内容经过双方不同人员的修改后,可能会有巨大差异。骗你的啦,实际内容几乎一模一样的说QAQ

本模板用于切掉参数{{{1}}}中的最后{{{2}}}个字符(不填则视作切掉0个字符)。

注:需要使用替换引用的情况下,可以使用子模板:str_crop/subst