Template:PluginCard: Difference between revisions
Jump to navigation
Jump to search
(now looking for "screenshotOpt" in the order locally -> globally -> default value, in any cases) |
(ability to create Plugin:PluginName page if not exist; displays warning and link to create page) |
||
Line 17: | Line 17: | ||
| {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }} | | {{#hashvalue:{{#var:PluginFileName}} |name |{{#var:PluginFileName}} }} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
--> | Check if Plugin:PluginName page exist if not display warning and add creation link | ||
-->{{#ifexist: Plugin:{{#var:PluginFileName}} | |||
| | |||
| {{Warning|Page <tt>Plugin:{{#var:PluginFileName}}</tt> doesn't exist. Please create it using the link below. Content will be generated automatically. You only need to save the changes. | |||
}}<span class="plainlinks createlinks">[{{fullurl:Plugin:{{#var:PluginFileName}} | action=edit&preload=Template:PluginPage/preload&summary=Plugin:{{#var:PluginFileName}} }} '''Create page''']</span>{{clear}} | |||
}} | |||
{| class="infobox bordered plugincard" cellpadding="4" style="margin: 0 0 10px 10px; width: 22em; font-size: 90%; float: right;clear: right; box-shadow:1px 1px 3px #999;" | {| class="infobox bordered plugincard" cellpadding="4" style="margin: 0 0 10px 10px; width: 22em; font-size: 90%; float: right;clear: right; box-shadow:1px 1px 3px #999;" | ||
<!-- | <!-- |
Revision as of 11:37, 13 July 2013
<translate> Warning</translate>
Page Plugin:PluginCard doesn't exist. Please create it using the link below. Content will be generated automatically. You only need to save the changes.
Page Plugin:PluginCard doesn't exist. Please create it using the link below. Content will be generated automatically. You only need to save the changes.
PluginCard | |
No image | |
Filename | PluginCard.dll
|
Download links: | |
Stable version: | x32, x64 |
Development version: | x32, x64 |
Todo: Doc