Template:Software page: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
m (→Experimental: Modes have been moved to the second infopanel) |
||
Line 4: | Line 4: | ||
<!-- | <!-- | ||
{{ModernWarning|Don't use or purging any page with this template while this notification is here. At the moment, changes are being made that break a lot. Once the edit is over, an editor can put a [[w:WP:COMMENT|hidden comment]] to hide this message.}} | {{ModernWarning|Don't use or purging any page with this template while this notification is here. At the moment, changes are being made that break a lot. Once the edit is over, an editor can put a [[w:WP:COMMENT|hidden comment]] to hide this message.}} | ||
--> | |||
<!-- | <!-- | ||
This is here so that we don't have to save and check the sandbox for every edit. We can just add our experimental parameters to the sandbox beforehand and then just keep previewing edits to view changes. Please remember to comment this out after you finalize your changes! | This is here so that we don't have to save and check the sandbox for every edit. We can just add our experimental parameters to the sandbox beforehand and then just keep previewing edits to view changes. Please remember to comment this out after you finalize your changes! | ||
Line 13: | Line 13: | ||
<noinclude>{{Template:Software page/sandbox}}</noinclude> | <noinclude>{{Template:Software page/sandbox}}</noinclude> | ||
--> | --> | ||
<includeonly><onlyinclude>{{#if:{{{shortname|}}}|{{ModernWarning|Parameter {{Param|shortname}} was used. Must be {{Param|filename}} }} |}}</onlyinclude></includeonly> | <includeonly><onlyinclude>{{#if:{{{shortname|}}}|{{ModernWarning|Parameter {{Param|shortname}} was used. Must be {{Param|filename}} }} |}}</onlyinclude></includeonly> | ||
Line 154: | Line 152: | ||
-->{{#if:{{{release|}}}|<div style="padding:0 10px"><span style="opacity:.6">{{Software page/strings|ReleaseDate}}:</span> {{Software page/strings|ReleaseDateSwitcher|{{{release|}}}}}</div>|}}<!-- | -->{{#if:{{{release|}}}|<div style="padding:0 10px"><span style="opacity:.6">{{Software page/strings|ReleaseDate}}:</span> {{Software page/strings|ReleaseDateSwitcher|{{{release|}}}}}</div>|}}<!-- | ||
-->{{#switch:{{{experimental|}}}|true=|#default=<!-- | |||
-->{{#if:{{{mode|}}}|<div style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 10px"><span style=opacity:.6><!-- | -->{{#if:{{{mode|}}}|<div style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 10px"><span style=opacity:.6><!-- | ||
-->{{Software page/strings|Mode{{#if:{{{mode 2|}}}|s|}}}}:</span> {{Software page/strings|ModeSwitcher|{{{mode}}}|{{#switch:{{{type|}}}|Mod = Mods|Games}}}}<!-- | -->{{Software page/strings|Mode{{#if:{{{mode 2|}}}|s|}}}}:</span> {{Software page/strings|ModeSwitcher|{{{mode}}}|{{#switch:{{{type|}}}|Mod = Mods|Games}}}}<!-- | ||
-->{{#if:{{{mode 2|}}}|, {{Software page/strings|ModeSwitcher|{{{mode 2}}}|{{#switch:{{{type|}}}|Mod = Mods|Games}}}}|}}</div>|}}<!-- | -->{{#if:{{{mode 2|}}}|, {{Software page/strings|ModeSwitcher|{{{mode 2}}}|{{#switch:{{{type|}}}|Mod = Mods|Games}}}}|}}</div>|}}<!-- | ||
-->{{#if:{{{genre|}}}|<div style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 10px"><span style=opacity:.6><!-- | -->{{#if:{{{genre|}}}|<div style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 10px"><span style=opacity:.6><!-- | ||
Line 241: | Line 239: | ||
-->{{#if:{{{genre|}}} | -->{{#if:{{{genre|}}} | ||
| <div style="display:flex; flex-direction:column; gap:10px; width:100%; background-color:rgba(0,0,0,.1); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0,0,0,.4); border-radius:6px; padding:5px 10px"> | | <div style="display:flex; flex-direction:column; gap:10px; width:100%; background-color:rgba(0,0,0,.1); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0,0,0,.4); border-radius:6px; padding:5px 10px"> | ||
{{#if:{{{genre|}}}|<div><span style=opacity:.6><!-- | {{#if:{{{mode|}}}|<div style="overflow:hidden; -webkit-line-clamp: 2; text-overflow:ellipsis"><span style=opacity:.6><!-- | ||
-->{{Software page/strings|Mode{{#if:{{{mode 2|}}}|s|}}}}:</span> {{Software page/strings|ModeSwitcher|{{{mode}}}|{{#switch:{{{type|}}}|Mod = Mods|Games}}}}<!-- | |||
-->{{#if:{{{mode 2|}}}|, {{Software page/strings|ModeSwitcher|{{{mode 2}}}|{{#switch:{{{type|}}}|Mod = Mods|Games}}}}|}}<!-- | |||
-->{{#if:{{{mode 3|}}}|, {{Software page/strings|ModeSwitcher|{{{mode 3}}}|{{#switch:{{{type|}}}|Mod = Mods|Games}}}}|}}<!-- | |||
-->{{#if:{{{mode 4|}}}|, {{Software page/strings|ModeSwitcher|{{{mode 4}}}|{{#switch:{{{type|}}}|Mod = Mods|Games}}}}|}}</div>|}}<!-- | |||
-->{{#if:{{{genre|}}}|<div style="overflow:hidden; -webkit-line-clamp: 2; text-overflow:ellipsis"><span style=opacity:.6><!-- | |||
-->{{Software page/strings|Genre{{#if:{{{genre 2|}}}|s|}}}}:</span> {{Software page/strings|GenreSwitcher|{{{genre}}}}}<!-- | -->{{Software page/strings|Genre{{#if:{{{genre 2|}}}|s|}}}}:</span> {{Software page/strings|GenreSwitcher|{{{genre}}}}}<!-- | ||
-->{{#if:{{{genre 2|}}}|, {{Software page/strings|GenreSwitcher|{{{genre 2}}}}}|}}<!-- | -->{{#if:{{{genre 2|}}}|, {{Software page/strings|GenreSwitcher|{{{genre 2}}}}}|}}<!-- |
Revision as of 08:37, 5 May 2023
Template:ModernNote Template:ModernTodo Template:ModernTodo
The above documentation is transcluded from Template:Software page/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.