Difference between revisions of "Template:EditState"

From Drawn to Life Wiki
Line 1: Line 1:
{{#switch: {{{Style}}}
+
{{#switch: {{{Style|Banner}}}
 
|Icon={{#switch: {{{1}}}
 
|Icon={{#switch: {{{1}}}
 
|None=<div style="position:absolute; z-index:100; right:7px; top:{{{top|11px}}}; height:10px; width:300px;">[[File:NoEdit.png|right|This page may not be edited by any user other than the creator]]</div>
 
|None=<div style="position:absolute; z-index:100; right:7px; top:{{{top|11px}}}; height:10px; width:300px;">[[File:NoEdit.png|right|This page may not be edited by any user other than the creator]]</div>
Line 32: Line 32:
 
"example": "Style=[Banner/Icon]",
 
"example": "Style=[Banner/Icon]",
 
"type": "string",
 
"type": "string",
"default": "Banner1",
+
"default": "Banner",
"autovalue": "Banner2",
+
"autovalue": "",
 
"suggested": true
 
"suggested": true
 
},
 
},

Revision as of 15:40, 17 June 2022


This template allows the creator of fanon pages to specify the type of edits they wish to allow to their articles.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
StyleStyle

Specify how this template will display. Available options are either "Banner" (to display as a full-width banner) or "Icon" (to display as a mini-icon over Infoboxes. Use the top parameter to adjust the position of the icon)

Default
Banner
Example
Style=[Banner/Icon]
Auto value
Stringsuggested
Toptop

no description

Unknownoptional