Template:Software page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 47: Line 47:
<div style="display:flex; flex-direction:column; width:656px; user-select:none; margin-right:20px">
<div style="display:flex; flex-direction:column; width:656px; user-select:none; margin-right:20px">
<div style="width:100%; height:369px; background:#202020; border-radius:6px; overflow:hidden">{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 1.jpg}}|[[File:{{{shortname|{{{name|}}}}}} - Screenshot 1.jpg|656px]]|}}</div>
<div style="width:100%; height:369px; background:#202020; border-radius:6px; overflow:hidden">{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 1.jpg}}|[[File:{{{shortname|{{{name|}}}}}} - Screenshot 1.jpg|656px]]|}}</div>
<div style="display:flex; gap:10px; width:100%; height:{{{sh|100px}}}; border-radius:6px; overflow-x:auto; margin-top:10px"><!--
<div style="display:flex; gap:10px; width:100%; height:{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 6.jpg}}|100px|72px}}; border-radius:6px; overflow-x:auto; margin-top:10px"><!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 2.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 2.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 2.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 2.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 3.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 3.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 3.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 3.jpg|128px]]</div>|}}<!--

Revision as of 04:12, 24 February 2023

Tip.pngIdea:This template should standardize software pages (mostly game and mod pages). Also, it should make it easier for developers to find documentation.
Tip.pngIdea:It should become like pages from Steam, ModDB or who knows what else.
Tip.pngIdea:The Docs subpage (FOR DEVELOPERS) should contain a table similar to the table from Half-Life: Alyx Workshop Tools page.

Example of the layout of developer pages:

  • Team Fortress 2/Docs
    • Team Fortress 2/Level Design
    • Team Fortress 2/Creating items
    • Team Fortress 2/...