Template:Package: Difference between revisions
Jump to navigation
Jump to search
(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.) |
No edit summary |
||
Line 6: | Line 6: | ||
{{messagebox | {{messagebox | ||
|text = {{#if:{{{image|}}}|[[File:{{{image}}}|320px|link=]]}} | |text = {{#if:{{{image|}}}|[[File:{{{image}}}|320px|link=]]}} | ||
{{Package/strings|The}} {{#if:{{{name|}}}|{{{name}}}|}} {{# | {{#if:{{{packages|}}}||<!-- | ||
{{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|The}} {{#if:{{{name|}}}|{{{name}}}|}} {{#if:{{{unavailable|}}}|{{Package/strings|Unavailable}}|{{Package/strings|Pack}}<br> | ||
{{Package/strings|Following}} | {{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>}}<!-- End of "packages" argument --> | ||
{{#if:{{{packages|}}}|{{Package/strings|Following packages}}|{{Package/strings|Following}}}} | |||
<br> | <br> | ||
<div style="color: orange; display: inline-block; text-align: left; padding: .3em;"> | <div style="color: orange; display: inline-block; text-align: left; padding: .3em;"> | ||
{{{list|*{{Package/strings|NoGames}}}}} | {{{list|{{{packages|*{{Package/strings|NoGames}}}}}}}} | ||
</div> | </div> | ||
|image = {{# | |image = {{#if:{{{unavailable|}}}|[[File:Steam-unavailable-Vert-trans.png|link=]]|[[File:Logo-Steam-white-notext.png|link=|64px|Steam Logo|alt=Steam Logo.]] | ||
}} | }} | ||
|bgcolor = #4f55594a | |bgcolor = #4f55594a |
Revision as of 08:01, 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.