Template:Infobox kink: Difference between revisions

From RACKWiki
(Created page with "<templatestyles src="Infobox kink/styles.css" /><div class="infobox infobox-kink"> <div class="infobox-title">{{PAGENAME}}</div> <table class="table">{{#if:{{{other_names|}}}|<tr> <th class="infobox-table-section-end">Other names</th> <td class="infobox-table-section-end">{{{other_names}}}</td> </tr>}}{{#if:{{{image_file|}}}|<tr><td colspan="2" class="infobox-image"> [[File:{{{image_file}}}|320px]]</td></tr>{{#if:{{{image_caption|}}}|<tr> <td cols...")
Tag: 2017 source edit
 
No edit summary
 
(8 intermediate revisions by one other user not shown)
Line 9: Line 9:
     <tr>
     <tr>
       <th>Health risk</th>
       <th>Health risk</th>
       <td class="infoxbox-health_risk-{{{risk}}}">
       <td class="infobox-health-risk infobox-risk-{{{health_risk}}}">{{{health_risk}}}</td>
{{{health_risk}}}
      </td>
     </tr>
     </tr>
     <tr>
     <tr>
       <th>Legal risk</th>
       <th>Legal risk</th>
       <td class="infoxbox-legal_risk-{{{risk}}}">
       <td class="infobox-legal-risk infobox-risk-{{{legal_risk}}}">{{{legal_risk}}}</td>
{{{legal_risk}}}
      </td>
     </tr>
     </tr>
   </table>
   </table>
</div><noinclude>
</div><includeonly>
[[Category:Kinks]]
</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 33: Line 31:
"image_file": {
"image_file": {
"label": "Article image",
"label": "Article image",
"description": "An relevant image",
"description": "A relevant image",
"example": "Breath control.jpg",
"example": "Breath control.jpg",
"type": "wiki-file-name"
"type": "wiki-file-name"
Line 44: Line 42:
"health_risk": {
"health_risk": {
"label": "Health risk",
"label": "Health risk",
"description": "Classify the health risk of this kink. Choose from: High, Moderate, Low.",
"description": "Classify the health risk of this kink. Choose from: Critical, High, Moderate, Mild.",
"example": "High",
"example": "High",
"type": "content",
"type": "line",
"required": true
"required": true
},
},
"legal_risk": {
"legal_risk": {
"label": "Legal risk",
"label": "Legal risk",
"description": "Classify the legal risk of this kink. Choose from: High, Moderate, Low",
"description": "Classify the legal risk of this kink. Choose from: High, Moderate, Mild.",
"example": "Moderate",
"example": "Moderate",
"type": "content",
"type": "line",
"required": true
"required": true
}
}

Latest revision as of 02:11, 9 February 2024

Infobox kink
Health risk {{{health_risk}}}
Legal risk

This Infobox summarizes a kink at the top of the article.

[Edit template data]

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Other namesother_names

Other names for this kink

Example
Breath play
Contentoptional
Article imageimage_file

A relevant image

Example
Breath control.jpg
Fileoptional
Article image captionimage_caption

A caption for the article image

Contentoptional
Health riskhealth_risk

Classify the health risk of this kink. Choose from: Critical, High, Moderate, Mild.

Example
High
Linerequired
Legal risklegal_risk

Classify the legal risk of this kink. Choose from: High, Moderate, Mild.

Example
Moderate
Linerequired