Template:CNContentTag: Difference between revisions
tools.php rewrite |
Kagoraphobia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{type|}}}|*'''類別''': {{#switch:{{{type}}} | {{#if:{{{type|}}}|*'''類別''': {{#switch:{{{type}}} | ||
| CostumeOrCreature = [[Costume]] and/or Creature {{Voidd|{{ | | CostumeOrCreature = [[Costume]] and/or Creature {{Voidd|{{CNContentTag/type/Costume}}}}{{Voidd|{{CNContentTag/type/Creature}}}} | ||
| ActivityOrTool = Activity and/or Tool {{Voidd|{{ | | ActivityOrTool = Activity and/or Tool {{Voidd|{{CNContentTag/type/Activity}}}}{{Voidd|{{CNContentTag/type/Tool}}}} | ||
| ActivityOrChange = Activity and/or Change {{Voidd|{{ | | ActivityOrChange = Activity and/or Change {{Voidd|{{CNContentTag/type/Activity}}}}{{Voidd|{{CNContentTag/type/Change}}}} | ||
| ActivityOrAttribute = Activity and/or Attribute {{Voidd|{{ | | ActivityOrAttribute = Activity and/or Attribute {{Voidd|{{CNContentTag/type/Activity}}}}{{Voidd|{{CNContentTag/type/Attribute}}}} | ||
| ActivityOrTool = Activity and/or Tool {{Voidd|{{ | | ActivityOrTool = Activity and/or Tool {{Voidd|{{CNContentTag/type/Activity}}}}{{Voidd|{{CNContentTag/type/Tool}}}} | ||
| AttributeOrCreature = Attribute and/or Creature {{Voidd|{{ | | AttributeOrCreature = Attribute and/or Creature {{Voidd|{{CNContentTag/type/Attribute}}}}{{Voidd|{{CNContentTag/type/Creature}}}} | ||
| Animal <!--falls through to below case--> | | Animal <!--falls through to below case--> | ||
| Costume = [[{{{type}}}]]{{Voidd|{{ | | Costume = [[{{{type}}}]]{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| Activity <!--falls through to last case...--> | | Activity <!--falls through to last case...--> | ||
| 歸屬 | | 歸屬 | ||
| Line 14: | Line 14: | ||
| 造物 | | 造物 | ||
| 技術 | | 技術 | ||
| Tool = {{{type}}}{{Voidd|{{ | | Tool = {{{type}}}{{Voidd|{{CNContentTag/type/{{{type}}}}}}} | ||
| {{{type}}}{{Voidd|{{ | | {{{type}}}{{Voidd|{{CNContentTag/type/other}}}}<!--switch end-->}} / {{#switch:{{{recognition|Visual}}} | ||
| Visual = [[Visual|視覺]]{{Voidd|{{ | | Visual = [[Visual|視覺]]{{Voidd|{{CNContentTag/recognition/Visual}}}} | ||
| Contextual = [[{{{recognition}}}]]{{Voidd|{{ | | Contextual = [[{{{recognition}}}]]{{Voidd|{{CNContentTag/recognition/{{{recognition}}}}}}} | ||
| {{{recognition}}}{{Voidd|{{ | | {{{recognition}}}{{Voidd|{{CNContentTag/type/other}}}}<!--switch end-->}} | ||
{{#if:{{{subtype1|}}}{{{subtype2|}}}{{{subtype3|}}}|*'''子分類''': {{#if:{{{subtype1|}}}|[[Fetish_Listing/Chinese#{{{subtype1}}}{{!}}{{{subtype1}}}]]}}{{#if:{{{subtype2|}}}|, [[Fetish_Listing/Chinese#{{{subtype2}}}{{!}}{{{subtype2}}}]]}}{{#if:{{{subtype3|}}}|, [[Fetish_Listing/Chinese#{{{subtype3}}}{{!}}{{{subtype3}}}]]}}}} | {{#if:{{{subtype1|}}}{{{subtype2|}}}{{{subtype3|}}}|*'''子分類''': {{#if:{{{subtype1|}}}|[[Fetish_Listing/Chinese#{{{subtype1}}}{{!}}{{{subtype1}}}]]}}{{#if:{{{subtype2|}}}|, [[Fetish_Listing/Chinese#{{{subtype2}}}{{!}}{{{subtype2}}}]]}}{{#if:{{{subtype3|}}}|, [[Fetish_Listing/Chinese#{{{subtype3}}}{{!}}{{{subtype3}}}]]}}}} | ||
}}<!-- | }}<!-- | ||
:::Quick monitoring for other parameter(s)::: | :::Quick monitoring for other parameter(s)::: | ||
--> | --> | ||
{{Voidd|{{ | {{Voidd|{{CNContentTag/gender/{{ #ifeq: {{{gender|+}}} | {{{gender|-}}} ||un}}defined}}}}<!-- | ||
:::Back to actual template::: | :::Back to actual template::: | ||
-->{{#if:{{{description|}}}|*'''描述''': {{{description}}} | -->{{#if:{{{description|}}}|*'''描述''': {{{description}}} | ||
| Line 166: | Line 166: | ||
===Type=== | ===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. | 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: | *[[Special:Whatlinkshere/Template:CNContentTag/type/Activity]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/Animal]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/Attribute]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/Change]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/Costume]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/Creature]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/Technical]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/Tool]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/other]] | ||
====Recognition==== | ====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: | 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: | *[[Special:Whatlinkshere/Template:CNContentTag/recognition/Contextual]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/recognition/Visual]] | ||
And undefined values are mapped to the same page as for the types: | And undefined values are mapped to the same page as for the types: | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/type/other]] | ||
===Gender=== | ===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". | 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". | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/gender/defined]] | ||
*[[Special:Whatlinkshere/Template: | *[[Special:Whatlinkshere/Template:CNContentTag/gender/undefined]] | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> | ||
Revision as of 23:25, 8 January 2025
what does it do
This template is altered from Template:ContentTag. Used for Chinese tag translate.
Translation modification
type => 類別 recognition sub-type =>子分類 discription => 描述 note => 註釋 gender => 性別 japanese => 日文名 SLAVE TAGS => 從屬之於標籤 (usage:othertaggroupid=Number) Examples => 范例
Visual:視覺
Attribute:歸屬 Change:變更 Creature:造物 Technical:技術
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=
}}
Parameters
Any parameter can be omitted.
- type: The tag's generic type.
- Suggested values: Activity, Animal, Attribute, Change, Costume, Creature, Technical, Tool.
- subtype(X): A more specific type for the tag, as seen in the fetish listing.
- A value for this parameter should correspond to one of the headers in the fetish listing.
- description: The definition for the tag. A description of how/where the tag should be used.
- note: Any notes for this tag.
- gender: An explanation of how to know when to put this tag in the male or female namespace, if applicable.
- taggroupid: the id for the female tag group in the tag group tool.
- maletaggroupid: the id for the male tag group in the tag group tool.
- mixedtaggroupid: the id for the mixed tag group in the tag group tool.
- othertaggroupid: the id for the other tag group in the tag group tool.
- langtaggroupid: the id for the language tag group in the tag group tool.
- slavetagsnote: A note for the slave tags, usually like "with notable synonyms Something and Other".
- example(X), maleexample(X): A URL pointing to a female/male example image.
- While the template does not enforce sequential use of example numbers in any way, skipping numbers (especially 1) may result in an odd format.
The description, note, and gender parameters may include almost any type or format of text, including multiple lines and wiki or HTML code, so long as there aren't any disruptive strings like stray "|"s.
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".