Template:EditOnPornBaseData/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:EditOnPornBaseData. It contains usage information, categories and other content that is not part of the original template page. |
Template to add "edit on PornBaseData" tag in PornBaseData-driven infoboxes
If the infobox passes a |noicon= parameter, then this link will not be displayed when noicon is set to false or no.
The default can be set at the infobox level by coding as either:
| data100 = {{EditOnPornBaseData|noicon={{{noicon|true}}}}}→ which displays the link in an article whennoiconis omitted| data100 = {{EditOnPornBaseData|noicon={{{noicon|false}}}}}→ which suppresses the link in an article whennoiconis omitted
This functionality is the opposite to the noicon parameter of Module:PornBaseDataIB - so if you set noicon=True and pass it to both the module and this template, you will only see this template. If you pass noicon=False, this template will be hidden while
will show next to the items fetched from PornBaseData in the infobox.
You can specify qid= to link to a specific PornBaseData ID if needed (i.e., in page drafts).
Usage
| Code | Result |
|---|---|
{{EditOnPornBaseData}} |
|
{{EditOnPornBaseData|noicon=true}} |
|
{{EditOnPornBaseData|noicon=yes}} |
|
{{EditOnPornBaseData|noicon=false}} |
|
{{EditOnPornBaseData|noicon=no}} |