Difference between revisions of "Template:User OTP"

From Moegirlpedia
Jump to: navigation, search
m
Line 9: Line 9:
 
}}</includeonly><noinclude>{{doc|content={{User OTP}}{{clear}}
 
}}</includeonly><noinclude>{{doc|content={{User OTP}}{{clear}}
  
==更新说明==
+
== Update note ==
2020.5.20 更新:为了方便用户自由定义人物参数的显示效果,已去除参数1和2所自带的内链,麻烦各位使用者手动更新自己的用户页代码,详见[[Template_talk:用户_CP#关于去除参数1和参数2所带内链的说明|讨论页]]
+
20 May 2020: Internal links from the first two parameters were removed to allow customized display of characters, which needs users to have a manual update of the code. Click [[:zh:Template talk:用户_CP#关于去除参数1和参数2所带内链的说明|here]] <small>(in Chinese)</small> for details.
  
== Example usage ==
+
== Examples ==
 
  <nowiki>{{User OTP|[[Kagamine Rin]]|[[Kagamine Len]]|Kagamine|Twins}}</nowiki>
 
  <nowiki>{{User OTP|[[Kagamine Rin]]|[[Kagamine Len]]|Kagamine|Twins}}</nowiki>
  
Result:
+
brings you:
 
 
 
{{User OTP|[[Kagamine Rin]]|[[Kagamine Len]]|Kagamine|Twins}}{{clear}}
 
{{User OTP|[[Kagamine Rin]]|[[Kagamine Len]]|Kagamine|Twins}}{{clear}}
  
亦或是:
+
or:
 
  <nowiki>{{User OTP|[[Yuko Kinoshita|Yuko]]|[[Hideyoshi Kinoshita|Hideyoshi]]|Kinoshita|siblings|CP评价=This OTP is reversible and cannot be removed.}}</nowiki>
 
  <nowiki>{{User OTP|[[Yuko Kinoshita|Yuko]]|[[Hideyoshi Kinoshita|Hideyoshi]]|Kinoshita|siblings|CP评价=This OTP is reversible and cannot be removed.}}</nowiki>
  
效果如下:
+
results in:
 
{{User OTP|[[Yuko Kinoshita|Yuko]]|[[Hideyoshi Kinoshita|Hideyoshi]]|Kinoshita|siblings|CP评价=This OTP is reversible and cannot be removed.}}{{clear}}
 
{{User OTP|[[Yuko Kinoshita|Yuko]]|[[Hideyoshi Kinoshita|Hideyoshi]]|Kinoshita|siblings|CP评价=This OTP is reversible and cannot be removed.}}{{clear}}
  
再或是:
+
an alternative:
  <nowiki>{{User OTP|[[高坂穗乃果]]|[[绚濑绘里]]|{{color|orange|果果}}|{{color|aqua|KKE}}|[[学生会长]]|CP评价={{color|orange|笨蛋}}专推{{color|aqua|傲娇}}!}}</nowiki>
+
  <nowiki>{{User OTP|[[Kosaka Honoka]]|[[Ayase Eli]]|{{color|orange|Honoka}}|{{color|aqua|KKE}}|[[Union President]]|CP评价={{color|orange|Baku}} certified {{color|aqua|Tsundere}}!}}</nowiki>
  
效果如下:
+
leads to:
{{用户 CP|[[高坂穗乃果]]|[[绚濑绘里]]|{{color|orange|果果}}|{{color|aqua|KKE}}|[[学生会长]]|CP评价={{color|orange|笨蛋}}专推{{color|aqua|傲娇}}!}}{{clear}}
+
{{User OTP|[[Kosaka Honoka]]|[[Ayase Eli]]|{{color|orange|Honoka}}|{{color|aqua|KKE}}|[[Union President]]|CP评价={{color|orange|Baku}} certified {{color|aqua|Tsundere}}!}}{{clear}}
  
你也可以修改人物条目的显示文字,比如:
+
Parameters can also be internal links with display text assigned, like:
 
<pre>{{User OTP|[[Kobayashi (Miss Kobayashi's Dragon Maid)|Kobayashi]]|[[Tohru (Miss Kobayashi's Dragon Maid)|Tohru]]|Kobayashi|Tohru|}}</pre>
 
<pre>{{User OTP|[[Kobayashi (Miss Kobayashi's Dragon Maid)|Kobayashi]]|[[Tohru (Miss Kobayashi's Dragon Maid)|Tohru]]|Kobayashi|Tohru|}}</pre>
 
{{User OTP|[[Kobayashi (Miss Kobayashi's Dragon Maid)|Kobayashi]]|[[Tohru (Miss Kobayashi's Dragon Maid)|Tohru]]|Kobayashi|Tohru|[[Yuri (moe point)|yuri]]}}{{clear}}
 
{{User OTP|[[Kobayashi (Miss Kobayashi's Dragon Maid)|Kobayashi]]|[[Tohru (Miss Kobayashi's Dragon Maid)|Tohru]]|Kobayashi|Tohru|[[Yuri (moe point)|yuri]]}}{{clear}}
 
{{Userboxes|Hobbies}}[[Category:Userboxes|OTP]]}}</noinclude>
 
{{Userboxes|Hobbies}}[[Category:Userboxes|OTP]]}}</noinclude>

Revision as of 16:16, 18 November 2023

Template-info.svg Template Documentation  [Edit]

This user believes that A and B are OTP.


Update note

20 May 2020: Internal links from the first two parameters were removed to allow customized display of characters, which needs users to have a manual update of the code. Click here (in Chinese) for details.

Examples

{{User OTP|[[Kagamine Rin]]|[[Kagamine Len]]|Kagamine|Twins}}

brings you:

Kagamine
Twins
This user believes that Twins Kagamine Rin and Kagamine Len are OTP.


or:

{{User OTP|[[Yuko Kinoshita|Yuko]]|[[Hideyoshi Kinoshita|Hideyoshi]]|Kinoshita|siblings|CP评价=This OTP is reversible and cannot be removed.}}

results in:

Kinoshita
siblings
This user believes that siblings Yuko and Hideyoshi are OTP.


an alternative:

{{User OTP|[[Kosaka Honoka]]|[[Ayase Eli]]|{{color|orange|Honoka}}|{{color|aqua|KKE}}|[[Union President]]|CP评价={{color|orange|Baku}} certified {{color|aqua|Tsundere}}!}}

leads to:

Honoka
KKE
This user believes that the Union President Kosaka Honoka and Ayase Eli are OTP.


Parameters can also be internal links with display text assigned, like:

{{User OTP|[[Kobayashi (Miss Kobayashi's Dragon Maid)|Kobayashi]]|[[Tohru (Miss Kobayashi's Dragon Maid)|Tohru]]|Kobayashi|Tohru|}}
Kobayashi
Tohru
This user believes that the yuri Kobayashi and Tohru are OTP.

Template:Userboxes