Template:Package: Difference between revisions
Jump to navigation
Jump to search
m (Added the Steam unavailable png file for the unavailable param) |
(Added "File:" into "#if" ParserFunctions. From now on, you just need to put the filename and the file extensions (jpg/png) on the image parameters without having to add "File:" and cover size on it, just like Software page.) |
||
Line 5: | Line 5: | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly> | ||
{{messagebox | {{messagebox | ||
|text = {{#if:{{{image|}}}|{{{image}}}}} | |text = {{#if:{{{image|}}}|[[File:{{{image}}}|320px|link=]]}} | ||
{{Package/strings|The}} {{#if:{{{name|}}}|{{{name}}}|}} {{#switch:{{{unavailable|}}}| true = {{Package/strings|Unavailable}}| #default = {{Package/strings|Pack}}<br> | {{Package/strings|The}} {{#if:{{{name|}}}|{{{name}}}|}} {{#switch:{{{unavailable|}}}| true = {{Package/strings|Unavailable}}| #default = {{Package/strings|Pack}}<br> | ||
{{Package/strings|Click}} [http://store.steampowered.com/{{#switch:{{{url}}}|#default|package|sub=sub|bundle|bundles=bundle}}/{{{id|100}}} <span style="color: yellow">{{Package/strings|Link}}</span>] {{Package/strings|Preview}}}}<br> | {{Package/strings|Click}} [http://store.steampowered.com/{{#switch:{{{url}}}|#default|package|sub=sub|bundle|bundles=bundle}}/{{{id|100}}} <span style="color: yellow">{{Package/strings|Link}}</span>] {{Package/strings|Preview}}}}<br> |
Revision as of 02:06, 30 May 2024
The above documentation is transcluded from Template:Package/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.