Difference between revisions of "Template:Unknown Entity forminput"
From Security Vision
(Created page with "<includeonly> {{#forminput:form={{{1}}} |default value=Unknown_{{{1}}}_{{padleft:{{#expr: 1 + {{#sub:{{#if:{{#ask:[[Category:{{{1}}}]][[~*Unknown_{{{1}}}*]]|format=plainlist}}...") |
Tag: Undo |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <noinclude> |
| + | '''Template Summary:''' Searches what is the last Unknown Entity of a given Category. It performs a +1 on the last Unknown Entity of a given Category. And creates a Page Forms #forminput function, which prompts the user to create the unknown entity in a popup Form. | ||
| + | |||
| + | Similar to [[Template:Unknown Entity redlink]] | ||
| + | |||
| + | '''Invoked with:''' <nowiki>{{Unknown Entity forminput|CATEGORYNAME}}</nowiki> | ||
| + | |||
| + | See implementation notes in [[Help:Unknown Entities Pages]] | ||
| + | |||
| + | Edit in order to see Template | ||
| + | </noinclude><includeonly> | ||
{{#forminput:form={{{1}}} | {{#forminput:form={{{1}}} | ||
|default value=Unknown_{{{1}}}_{{padleft:{{#expr: 1 + {{#sub:{{#if:{{#ask:[[Category:{{{1}}}]][[~*Unknown_{{{1}}}*]]|format=plainlist}}|{{#ask:[[Category:{{{1}}}]][[~*Unknown_{{{1}}}*]]|format=plainlist|limit=1|offset=0|link=none|sort=|order=desc|sep=, |searchlabel=}}|0000}}|-4}}}}|4|0}} | |default value=Unknown_{{{1}}}_{{padleft:{{#expr: 1 + {{#sub:{{#if:{{#ask:[[Category:{{{1}}}]][[~*Unknown_{{{1}}}*]]|format=plainlist}}|{{#ask:[[Category:{{{1}}}]][[~*Unknown_{{{1}}}*]]|format=plainlist|limit=1|offset=0|link=none|sort=|order=desc|sep=, |searchlabel=}}|0000}}|-4}}}}|4|0}} | ||
| − | |button text=Create | + | |button text=Create Unknown {{{1}}} |
|size=5 | |size=5 | ||
|popup | |popup | ||
|reload | |reload | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 12:18, 13 April 2022
Template Summary: Searches what is the last Unknown Entity of a given Category. It performs a +1 on the last Unknown Entity of a given Category. And creates a Page Forms #forminput function, which prompts the user to create the unknown entity in a popup Form.
Similar to Template:Unknown Entity redlink
Invoked with: {{Unknown Entity forminput|CATEGORYNAME}}
See implementation notes in Help:Unknown Entities Pages
Edit in order to see Template