Template:CNContentTag: Difference between revisions
Lady Slayer (talk | contribs) m nopreremind red link fix. |
Lady Slayer (talk | contribs) m typo of 標籤 |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{nopreremind|}}}|'''提示''': | {{#if:{{{nopreremind|}}}|'''提示''': 在標籤適用之前,必須先滿足其定義條件。如果標籤類型帶有超鏈接,請參閲鏈接頁面以獲取任何額外的[[Gallery_Tagging/Chinese|標籤説明]]。| '''提示''': 除非下文另有説明,標籤在使用前必須具有足夠的[[Gallery_Tagging/Chinese#Presence|存在數量]]。如果標籤類型帶有超鏈接,請參閲鏈接頁面以獲取有關[[Gallery_Tagging/Chinese#Presence|存在要求]]或[[Gallery_Tagging/Chinese|標籤]]説明的更多信息。}} | ||
{{#if:{{{type|}}}|*''' | {{#if:{{{type|}}}|*'''標籤類別''': {{#switch:{{{type}}} | ||
| Location = [[Gallery_Tagging/Chinese#Location|地區]]{{Voidd|{{CNContentTag/type/Location}}}} | | Location = [[Gallery_Tagging/Chinese#Location|地區]]{{Voidd|{{CNContentTag/type/Location}}}} | ||
| Format = [[Gallery_Tagging/Chinese#Format|格式]]{{Voidd|{{ContentTag/type/Format}}}} | |||
| Gallery-Wide = [[Gallery_Tagging/Chinese#Gallery-Wide|畫廊範圍]]{{Voidd|{{CNContentTag/type/Gallery-Wide}}}} | | Gallery-Wide = [[Gallery_Tagging/Chinese#Gallery-Wide|畫廊範圍]]{{Voidd|{{CNContentTag/type/Gallery-Wide}}}} | ||
| High Presence = 高出場率{{Voidd|{{CNContentTag/type/High Presence}}}} | | High Presence = 高出場率{{Voidd|{{CNContentTag/type/High Presence}}}} | ||
| Line 20: | Line 21: | ||
| ActivityOrCreature = 活動 / 造物 {{Voidd|{{CNContentTag/type/Activity}}}}{{Voidd|{{CNContentTag/type/Creature}}}} | | ActivityOrCreature = 活動 / 造物 {{Voidd|{{CNContentTag/type/Activity}}}}{{Voidd|{{CNContentTag/type/Creature}}}} | ||
| ToolOrCostume = 工具 / [[Gallery_Tagging/Chinese#Costume|服裝]] {{Voidd|{{CNContentTag/type/Tool}}}}{{Voidd|{{CNContentTag/type/Costume}}}} | | ToolOrCostume = 工具 / [[Gallery_Tagging/Chinese#Costume|服裝]] {{Voidd|{{CNContentTag/type/Tool}}}}{{Voidd|{{CNContentTag/type/Costume}}}} | ||
| Animal = [[{{{type}}}]]{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | | Animal = [[{{{type}}}|動物]]{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| Costume = [[{{{type}}}]]{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | | Costume = [[{{{type}}}|服裝]]{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| Activity = {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | | Activity = 活動 {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| Attribute = {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | | Attribute = 歸屬 {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| Change = [[{{{type}}}]]{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | | Change = [[{{{type}}}|變化]]{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| Creature = {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | | Creature = 造物 {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| Technical = {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | | Technical = 技術 {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| Tool = {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | | Tool = 工具 {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| {{{type}}}{{Voidd|{{CNContentTag/type/other}}}}<!--switch end-->}} / {{#switch:{{{recognition|Visual}}} | | {{{type}}}{{Voidd|{{CNContentTag/type/other}}}}<!--switch end-->}} / {{#switch:{{{recognition|Visual}}} | ||
| Visual = [[Gallery_Tagging/Chinese#Visual|視覺]]{{Voidd|{{CNContentTag/recognition/Visual}}}} | | Visual = [[Gallery_Tagging/Chinese#Visual|視覺]]{{Voidd|{{CNContentTag/recognition/Visual}}}} | ||
| Contextual = [[{{{recognition}}}]]{{Voidd|{{CNContentTag/recognition/{{{recognition}}}}}}} | | Contextual = [[{{{recognition}}}|字義]]{{Voidd|{{CNContentTag/recognition/{{{recognition}}}}}}} | ||
| {{{recognition}}}{{Voidd|{{CNContentTag/recognition/other}}}}<!--switch end-->}} | | {{{recognition}}}{{Voidd|{{CNContentTag/recognition/other}}}}<!--switch end-->}} | ||
{{#if:{{{subtype1|}}}{{{subtype2|}}}{{{subtype3|}}}{{{subtype4|}}}{{{subtype5|}}}{{{subtype6|}}}|*''' | {{#if:{{{subtype1|}}}{{{subtype2|}}}{{{subtype3|}}}{{{subtype4|}}}{{{subtype5|}}}{{{subtype6|}}}|*'''標籤子類''': {{#if:{{{subtype1|}}}|[[Fetish_Listing/Chinese#{{{subtype1}}}{{!}}{{{subtype1}}}]]}}{{#if:{{{subtype2|}}}|, [[Fetish_Listing/Chinese#{{{subtype2}}}{{!}}{{{subtype2}}}]]}}{{#if:{{{subtype3|}}}|, [[Fetish_Listing/Chinese#{{{subtype3}}}{{!}}{{{subtype3}}}]]}}{{#if:{{{subtype4|}}}|, [[Fetish_Listing/Chinese#{{{subtype4}}}{{!}}{{{subtype4}}}]]}}{{#if:{{{subtype5|}}}|, [[Fetish_Listing/Chinese#{{{subtype5}}}{{!}}{{{subtype5}}}]]}}{{#if:{{{subtype6|}}}|, [[Fetish_Listing/Chinese#{{{subtype6}}}{{!}}{{{subtype6}}}]]}}}} | ||
}}<!-- | }}<!-- | ||
:::Quick monitoring for other parameter(s)::: | :::Quick monitoring for other parameter(s)::: | ||
| Line 41: | Line 42: | ||
}}{{#if:{{{note|}}}|*'''備注''': {{{note}}} | }}{{#if:{{{note|}}}|*'''備注''': {{{note}}} | ||
}}{{#if:{{{gender|}}}|*'''性別''': {{{gender}}} | }}{{#if:{{{gender|}}}|*'''性別''': {{{gender}}} | ||
}}{{#if:{{{power|}}}|*'''[[Power/Chinese|願力]]需求''': {{{power}}}{{Voidd|{{CNContentTag/power}}}} | }}{{#if:{{{power|}}}|*'''[[Power/Chinese|願力]]需求''': {{{power}}}{{Voidd|{{CNContentTag/power}}}}[[category:Power Restricted/Chinese]] | ||
}}{{#if:{{{japanese|}}}|*'''日文名稱''': {{{japanese}}} | }}{{#if:{{{japanese|}}}|*'''日文名稱''': {{{japanese}}} | ||
}}<!-- | }}<!-- | ||
| Line 63: | Line 64: | ||
Used for Chinese tag translate. | Used for Chinese tag translate. | ||
==Quick template for pasting== | ==Quick template for pasting== | ||
| Line 132: | Line 98: | ||
</pre> | </pre> | ||
== | == 參數 == | ||
任何參數都可以被省略。 | |||
{| class="wikitable" | |||
|- | |||
! 參數名稱 !! 描述 | |||
|- | |||
| '''nopreremind''' || 決定是否顯示存在規則或跟隨定義的提醒。 | |||
*若省略此參數,則預設為提醒存在規則。 | |||
*此參數的值應為「true」(即提示跟隨定義),或完全不填寫參數(比如 presence)。 | |||
|- | |||
| '''type''' || 標籤的內容類型。 | |||
*可用的類型:Activity,Animal,Attribute,Change,Costume,Creature,Format,Gallery-Wide,High Presence,Location,Low Presence,Technical,Tool. | |||
*若類型涉及多種標籤類型,請始終使用組合標誌(需要時創建新的)。例如「CostumeOrCreature」。 | |||
|- | |||
| '''recognition''' || 決定存在要求是視覺上還是字義上的。 | |||
*預設情況下,標籤始終為視覺類型,除非指定為字義類型。 | |||
|- | |||
| '''subtype(X)''' || 定義標籤於[[Fetish_Listing/Chinese|性癖列表]]中所顯示的分類。 | |||
*此參數的值應對應性癖列表中的其中一個標題。 | |||
|- | |||
| '''description''' || 標籤的定義。描述如何使用/在哪裡使用該標籤。 | |||
|- | |||
| '''note''' || 此標籤的任何備注。 | |||
|- | |||
| '''gender''' || 說明何時應將此標籤放入男性或女性命名空間(如適用)。 | |||
|- | |||
| '''power''' || 指定使用標籤所需的特定權限。 | |||
|- | |||
| '''taggroupid''' || 標籤組工具中女性標籤組的ID。 | |||
|- | |||
| '''maletaggroupid''' || 標籤組工具中男性標籤組的ID。 | |||
|- | |||
| '''mixedtaggroupid''' || 標籤組工具中混合標籤組的ID。 | |||
|- | |||
| '''othertaggroupid''' || 標籤組工具中其他標籤組的ID。 | |||
|- | |||
| '''loctaggroupid''' || 標籤組工具中地區標籤組的ID。 | |||
|- | |||
| '''langtaggroupid''' || 標籤組工具中語言標籤組的ID。 | |||
|- | |||
| '''parodytaggroupid''' || 標籤組工具中模仿物標籤組的ID。 | |||
|- | |||
| '''reclasstaggroupid''' || 標籤組工具中重分類標籤組的ID。 | |||
|- | |||
| '''slavetagsnote''' || 從屬標籤的註釋,通常類似「具有顯著同義詞如Something和Other」。 | |||
*在CNContentTag模板中同時用於顯示標籤所歸屬的[[命名空間]]。 | |||
|- | |||
| '''example(X)''', '''maleexample(X)''' || 指向女性/男性範例圖片的URL。 | |||
*雖然模板不強制按順序使用範例編號,但跳過數字(尤其是1)可能會導致格式異常。 | |||
|} | |||
描述、備注和性別參數可以包含幾乎任何類型或格式的文字,包括多行內容以及維基或HTML代碼,只要不包含破壞性字串(例如孤立的「|」符號)。 | |||
==Examples== | ==Examples== | ||
Latest revision as of 15:15, 9 October 2025
what does it do
This template is altered from Template:ContentTag. Used for Chinese tag translate.
Quick template for pasting
{{CNContentTag
|type=
|recognition=
|subtype1=
|subtype2=
|subtype3=
|description=
|note=
|gender=
|taggroupid=
|maletaggroupid=
|mixedtaggroupid=
|othertaggroupid=
|langtaggroupid=
|slavetagsnote=
|example1=
|example2=
|example3=
|example4=
|example5=
|example6=
|maleexample1=
|maleexample2=
|maleexample3=
|maleexample4=
|maleexample5=
|maleexample6=
}}
參數
任何參數都可以被省略。
| 參數名稱 | 描述 |
|---|---|
| nopreremind | 決定是否顯示存在規則或跟隨定義的提醒。
|
| type | 標籤的內容類型。
|
| recognition | 決定存在要求是視覺上還是字義上的。
|
| subtype(X) | 定義標籤於性癖列表中所顯示的分類。
|
| description | 標籤的定義。描述如何使用/在哪裡使用該標籤。 |
| note | 此標籤的任何備注。 |
| gender | 說明何時應將此標籤放入男性或女性命名空間(如適用)。 |
| power | 指定使用標籤所需的特定權限。 |
| taggroupid | 標籤組工具中女性標籤組的ID。 |
| maletaggroupid | 標籤組工具中男性標籤組的ID。 |
| mixedtaggroupid | 標籤組工具中混合標籤組的ID。 |
| othertaggroupid | 標籤組工具中其他標籤組的ID。 |
| loctaggroupid | 標籤組工具中地區標籤組的ID。 |
| langtaggroupid | 標籤組工具中語言標籤組的ID。 |
| parodytaggroupid | 標籤組工具中模仿物標籤組的ID。 |
| reclasstaggroupid | 標籤組工具中重分類標籤組的ID。 |
| slavetagsnote | 從屬標籤的註釋,通常類似「具有顯著同義詞如Something和Other」。
|
| example(X), maleexample(X) | 指向女性/男性範例圖片的URL。
|
描述、備注和性別參數可以包含幾乎任何類型或格式的文字,包括多行內容以及維基或HTML代碼,只要不包含破壞性字串(例如孤立的「|」符號)。
Examples
{{CNContentTag
|type=服装
|description=短的運動褲,顔色和長度各有不同。
|note='''不應當''' 與 [[bloomers]] 混淆。
|gender=穿着運動短褲的人的性別決定這個標籤的[[命名空間]]。
|taggroupid=8004
|example1=https://e-hentai.org/s/a12fdf19d1/524931-15
|example2=https://e-hentai.org/s/387da70f57/554077-13
}}
{{CNContentTag
|type=Costume
|description=Male version of [[schoolgirl]].
|gender=The one wearing the schoolboy uniform decides if the tag is placed in the female or male [[namespaces|namespace]].
::::If female, it should be used in conjunction with the [[crossdressing|female:crossdressing]] tag.
|maletaggroupid=3700
}}
{{CNContentTag
|type=Activity
|recognition=Contextual
|description=The act of becoming [[pregnant]].
|note=[[Image:Point.png]] Should be obviously [[Gallery_Tagging#Usage_Guidelines|relevant to the story]], '''not''' just whenever someone ejaculates inside a woman.
:::Either [[visual]] or verbal proof is needed; verbal needs to be assertive that the character actually '''is''' pregnant, and not simply expressing a wish to become so.
|gender=The gender of the one becoming pregnant determines if the tag is placed in the female or male [[namespace]].
|taggroupid=149
}}
The results of these examples may be seen on the gymshorts and schoolboy pages respectively. I decline to reproduce the examples here so that this page does not become part of the Tag category.
Parameter Monitoring
While it would be possible to set up similar monitoring for other parameters (limited to only "defined" or "undefined"), there is less chance that it would ever be useful for those.
Type
The type parameter's value is "monitored". This means you can see a list of the pages that use a given value for type by viewing the appropriate page below. "other" is not a specific value, but rather any value (including undefined/not set) not covered by the rest of the links.
- Special:Whatlinkshere/Template:CNContentTag/type/Activity
- Special:Whatlinkshere/Template:CNContentTag/type/Animal
- Special:Whatlinkshere/Template:CNContentTag/type/Attribute
- Special:Whatlinkshere/Template:CNContentTag/type/Change
- Special:Whatlinkshere/Template:CNContentTag/type/Costume
- Special:Whatlinkshere/Template:CNContentTag/type/Creature
- Special:Whatlinkshere/Template:CNContentTag/type/Technical
- Special:Whatlinkshere/Template:CNContentTag/type/Tool
- Special:Whatlinkshere/Template:CNContentTag/type/other
Recognition
The recognition of a tag is part of the type of the tag, unless specified otherwise a tag has Visual recognition. The "monitoring" of the recognition part of the tag type works in analogous way to the type itself where the allowed values are:
- Special:Whatlinkshere/Template:CNContentTag/recognition/Contextual
- Special:Whatlinkshere/Template:CNContentTag/recognition/Visual
And undefined values are mapped to the same page as for the types:
Gender
The gender parameter is also monitored so that you can see where this value has and hasn't been set. This should be roughly equivalent to "this tag has versions in the Male and Female (and possibly Mixed) namespaces, or not".