Template:ContentTag: Difference between revisions

From EHWiki
Jump to navigationJump to search
adding male examples
Line 4: Line 4:
}}{{#if:{{{gender|}}}|*'''Gender''': {{{gender}}}
}}{{#if:{{{gender|}}}|*'''Gender''': {{{gender}}}
}}{{#if:{{{taggroupid|}}}|*[http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{taggroupid}}} '''Slave Tags''']
}}{{#if:{{{taggroupid|}}}|*[http://g.e-hentai.org/tools.php?act=taggroup&taggroup={{{taggroupid}}} '''Slave Tags''']
}}{{#if:{{{example1|}}}{{{example2|}}}{{{example3|}}}{{{example4|}}}{{{example5|}}}{{{example6|}}}{{{example7|}}}{{{example8|}}}|<!--
}}{{#if:{{{example1|}}}{{{example2|}}}{{{example3|}}}{{{example4|}}}{{{example5|}}}{{{example6|}}}<!--
  -->*'''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:{{{example7|}}}|, [[{{{example7}}} 7]]}}{{#if:{{{example8|}}}|, [[{{{example8}}} 8]]}}
-->{{{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]]}}<!--
-->{{#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:Tag]]</includeonly>
}}[[Category:Tag]]</includeonly>
<noinclude>== Quick template for pasting ==
<noinclude>== Quick template for pasting ==
Line 22: Line 24:
|example5=
|example5=
|example6=
|example6=
|example7=
|maleexample1=
|example8=
|maleexample2=
|maleexample3=
|maleexample4=
|maleexample5=
|maleexample6=
}}
}}
</pre>
</pre>
Line 37: Line 43:
*'''gender''': An explanation of how to know when to put this tag in the male or female namespace, if applicable.
*'''gender''': An explanation of how to know when to put this tag in the male or female namespace, if applicable.
*'''taggroupid''': The ID for this tag's tag group in the tag tool, if there is one.
*'''taggroupid''': The ID for this tag's tag group in the tag tool, if there is one.
*'''example(X)''': A URL pointing to an example image.
*'''example(X)''': A URL pointing to a female example image.
*'''maleexample(X)''': A URL pointing to a 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.
**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'' and ''example(X)'' may include wiki or HTML code (so long as there aren't any disruptive strings, like stray "|"s).
Any parameter except ''taggroupid'', ''example(X)'', and ''maleexample(X)'' may include wiki or HTML code (so long as there aren't any disruptive strings, like stray "|"s).


== Example ==
== Example ==

Revision as of 22:33, 22 March 2013

Quick template for pasting

{{ContentTag
|type=
|description=
|note=
|gender=
|taggroupid=
|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.
  • 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 this tag's tag group in the tag tool, if there is one.
  • example(X): A URL pointing to a female example image.
  • maleexample(X): A URL pointing to a 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, example(X), and maleexample(X) may include wiki or HTML code (so long as there aren't any disruptive strings, like stray "|"s).

Example

{{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
}}

The result of this example may be seen on the gymshorts page. I decline to reproduce the example here so that this page does not become part of the Tag category.