|
|
| (14 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <includeonly>{{#switch:{{{type}}}|Animal=[[{{{type}}}]]{{Voidd|ContentTag/type/{{{type}}}}}}}|Costume=[[{{{type}}}]]{{Voidd|ContentTag/type/{{{type}}}}}}}|Activity={{{type}}}{{Voidd|ContentTag/type/{{{type}}}}}}}|Attribute={{{type}}}{{Voidd|ContentTag/type/{{{type}}}}}}}|Change={{{type}}}{{Voidd|ContentTag/type/{{{type}}}}}}}|Creature={{{type}}}{{Voidd|ContentTag/type/{{{type}}}}}}}|Technical={{{type}}}{{Voidd|ContentTag/type/{{{type}}}}}}}|Tool={{{type}}}{{Voidd|ContentTag/type/{{{type}}}}}}}|{{{type}}}{{Voidd|ContentTag/type/other}}}}
| | {{#if:{{{type|}}}|*'''Type''': {{#switch:{{{type}}} |
| }}{{#if:{{{description|}}}|*'''Description''': {{{description}}} | | | Animal<!--falls through to below case--> |
| | | Costume = [[{{{type}}}]]{{Voidd|{{ContentTag/type/{{{type}}}}}}} |
| | | Activity<!--falls through to last case...--> |
| | | Attribute |
| | | Change |
| | | Creature |
| | | Technical |
| | | Tool = {{{type}}}{{Voidd|{{ContentTag/type/{{{type}}}}}}} |
| | | {{{type}}}{{Voidd|{{ContentTag/type/other}}}}<!--switch end-->}} {{#if:{{{subtype1|}}}{{{subtype2|}}}{{{subtype3|}}}|- {{#if:{{{subtype1|}}}|[[Fetish_Listing#{{{subtype1}}}{{!}}{{{subtype1}}}]]}}{{#if:{{{subtype2|}}}|, [[Fetish_Listing#{{{subtype2}}}{{!}}{{{subtype2}}}]]}}{{#if:{{{subtype3|}}}|, [[Fetish_Listing#{{{subtype3}}}{{!}}{{{subtype3}}}]]}}}} |
| | }}<!--Quick monitoring for other parameter(s)... |
| | -->{{Voidd|{{ContentTag/gender/{{ #ifeq: {{{gender|+}}} | {{{gender|-}}} ||un}}defined}}}}<!-- |
| | Back to actual template... |
| | -->{{#if:{{{description|}}}|*'''Description''': {{{description}}} |
| }}{{#if:{{{note|}}}|*'''Note''': {{{note}}} | | }}{{#if:{{{note|}}}|*'''Note''': {{{note}}} |
| }}{{#if:{{{gender|}}}|*'''Gender''': {{{gender}}} | | }}{{#if:{{{gender|}}}|*'''Gender''': {{{gender}}} |
| }}{{#if:{{{taggroupid|}}}{{{maletaggroupid|}}}|*<!-- | | }}{{#if:{{{taggroupid|}}}{{{maletaggroupid|}}}{{{misctaggroupid|}}}|*'''Slave Tags''': {{#if:{{{taggroupid|}}}|[http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{taggroupid}}} Female]}}{{#if:{{{misctaggroupid|}}}|{{#if:{{{taggroupid|}}}|, }}[http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{misctaggroupid}}} Misc]}}{{#if:{{{maletaggroupid|}}}|{{#if:{{{taggroupid|}}}{{{misctaggroupid|}}}|, }}[http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{maletaggroupid}}} Male]}}{{#if:{{{slavetagsnote|}}}| - {{{slavetagsnote}}}}} |
| IF there's a male taggroupid
| |
| -->{{#if:{{{maletaggroupid|}}}<!--
| |
| THEN-->|<!--
| |
| IF there's a female taggroupid
| |
| -->{{#if:{{{taggroupid|}}}<!--
| |
| THEN-->|<!--
| |
| -->[http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{taggroupid}}} '''Female Slave Tags'''] & [http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{maletaggroupid}}} '''Male Slave Tags'''] {{{slavetagsnote|}}}<!--
| |
| ELSE-->|<!-- (no female taggroupid, only male taggroupid)
| |
| -->[http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{maletaggroupid}}} '''Slave Tags'''] {{{slavetagsnote|}}}<!--
| |
| ENDIF-->}}<!--
| |
| ELSE-->|<!-- (no male taggroupid, and there must be some taggroupid, so...)
| |
| -->[http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{taggroupid}}} '''Slave Tags'''] {{{slavetagsnote|}}}<!--
| |
| ENDIF-->}}
| |
| }}{{#if:{{{example1|}}}{{{example2|}}}{{{example3|}}}{{{example4|}}}{{{example5|}}}{{{example6|}}}<!-- | | }}{{#if:{{{example1|}}}{{{example2|}}}{{{example3|}}}{{{example4|}}}{{{example5|}}}{{{example6|}}}<!-- |
| -->{{{maleexample1|}}}{{{maleexample2|}}}{{{maleexample3|}}}{{{maleexample4|}}}{{{maleexample5|}}}{{{maleexample6|}}}|<!-- | | -->{{{maleexample1|}}}{{{maleexample2|}}}{{{maleexample3|}}}{{{maleexample4|}}}{{{maleexample5|}}}{{{maleexample6|}}}|<!-- |
| -->*'''Examples''': {{#if:{{{example1|}}}|[[{{{example1}}} 1]]}}{{#if:{{{example2|}}}|, [[{{{example2}}} 2]]}}{{#if:{{{example3|}}}|, [[{{{example3}}} 3]]}}{{#if:{{{example4|}}}|, [[{{{example4}}} 4]]}}{{#if:{{{example5|}}}|, [[{{{example5}}} 5]]}}{{#if:{{{example6|}}}|, [[{{{example6}}} 6]]}}<!-- | | -->*'''Examples''': {{#if:{{{example1|}}}|[[{{{example1}}} 1]]}}{{#if:{{{example2|}}}|, [[{{{example2}}} 2]]}}{{#if:{{{example3|}}}|, [[{{{example3}}} 3]]}}{{#if:{{{example4|}}}|, [[{{{example4}}} 4]]}}{{#if:{{{example5|}}}|, [[{{{example5}}} 5]]}}{{#if:{{{example6|}}}|, [[{{{example6}}} 6]]}}<!-- |
| -->{{#if:{{{maleexample1|}}}|[[{{{maleexample1}}} male 1]]}}{{#if:{{{maleexample2|}}}|, [[{{{maleexample2}}} male 2]]}}{{#if:{{{maleexample3|}}}|, [[{{{maleexample3}}} male 3]]}}{{#if:{{{maleexample4|}}}|, [[{{{maleexample4}}} male 4]]}}{{#if:{{{maleexample5|}}}|, [[{{{maleexample5}}} male 5]]}}{{#if:{{{maleexample6|}}}|, [[{{{maleexample6}}} male 6]]}} | | -->{{#if:{{{maleexample1|}}}|[[{{{maleexample1}}} male 1]]}}{{#if:{{{maleexample2|}}}|, [[{{{maleexample2}}} male 2]]}}{{#if:{{{maleexample3|}}}|, [[{{{maleexample3}}} male 3]]}}{{#if:{{{maleexample4|}}}|, [[{{{maleexample4}}} male 4]]}}{{#if:{{{maleexample5|}}}|, [[{{{maleexample5}}} male 5]]}}{{#if:{{{maleexample6|}}}|, [[{{{maleexample6}}} male 6]]}} |
| }}[[Category:TestTag]]</includeonly>
| |
| <noinclude>==To Do==
| |
| *Not sure about how both male and female slave tags should be displayed at the same time. Or how to deal with the slave tags note in this case.
| |
| *Fix male example 1? So that it'll start with a comma if there was a female example before it, or not if not.
| |
| **Could operate as simply as "if example1 is defined".
| |
|
| |
| ==Quick template for pasting==
| |
|
| |
| <pre>
| |
| {{ContentTag
| |
| |type=
| |
| |description=
| |
| |note=
| |
| |gender=
| |
| |taggroupid=
| |
| |maletaggroupid=
| |
| |slavetagsnote=
| |
| |example1=
| |
| |example2=
| |
| |example3=
| |
| |example4=
| |
| |example5=
| |
| |example6=
| |
| |maleexample1=
| |
| |maleexample2=
| |
| |maleexample3=
| |
| |maleexample4=
| |
| |maleexample5=
| |
| |maleexample6=
| |
| }} | | }} |
| </pre>
| |
|
| |
| == Parameters ==
| |
|
| |
| Any parameter can be omitted.
| |
|
| |
| *'''type''': The tag's generic type.
| |
| **Suggested values: Activity, <nowiki>[[Animal]]</nowiki>, Attribute, Change, <nowiki>[[Costume]]</nowiki>, Creature, Technical, Tool.
| |
| *'''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''', '''maletaggroupid''': The ID for this tag's female/male tag groups (respectively) in the tag tool, if there is a tag group and if there are distinct female and male versions.
| |
| **If the tag does not have female and male versions, using either parameter (in isolation) will have the same result.
| |
| *'''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.
| |
|
| |
| Any parameter except ''taggroupid'' or ''example(X)'' (or their male versions) may include wiki or HTML code, so long as there aren't any disruptive strings like stray "|"s.
| |
|
| |
| ==Examples==
| |
|
| |
| <pre>
| |
| {{ContentTag
| |
| |type=[[Costume]]
| |
| |description=Short gym pants, color and length may vary.
| |
| |note=Should '''not''' be confused with the [[bloomers]] tag.
| |
| |gender=The one wearing the gymshorts decides if the tag is placed in the female or male [[namespaces|namespace]].
| |
| |taggroupid=8004
| |
| |example1=http://g.e-hentai.org/s/a12fdf19d1/524931-15
| |
| |example2=http://g.e-hentai.org/s/387da70f57/554077-13
| |
| }}
| |
| </pre>
| |
|
| |
| <pre>
| |
| {{ContentTag
| |
| |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
| |
| }}
| |
| </pre>
| |
|
| |
| 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.
| |
|
| |
| [[Category:Template]]
| |
| </noinclude>
| |