Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

Difference between revisions of "Template:Software image"

From Valve Developer Community
Jump to: navigation, search
(Replaced content with "{{delete|reason=unwanted}}")
(Tag: Replaced)
 
Line 1: Line 1:
{{draft}}{{Doc}}
+
{{delete|reason=unwanted}}
<!-- currently just needs auto categorizing and mentioning the game name for software covers. -->
 
<includeonly><onlyinclude>This image is {{#switch:{{str right|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }} - 19}} }}
 
|#default = {{#switch: {{str right|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }} - 17}} }}
 
    |- Background.jpg
 
    |- Background.png = the background image for the page {{#if:{{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 17}} }}|{{ {{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 17}} }}|4}} |{{ {{game icon name|{{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 17}} }} }}|4}} }}  [[Category:Background images]] [[Category: {{#if:{{game icon name|{{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 17}} }} }}|{{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 17}} }} |{{ {{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 17}} }} |name}} }}]]
 
    |#default = the software cover for the page {{#if:{{game icon name|{{str left|{{str right|{{PAGENAME}}|17}}|{{#expr:{{str len|{{PAGENAME}} }} - 17 }} }} }}|{{ {{game icon name|{{str left|{{str right|{{PAGENAME}}|17}}|{{#expr:{{str len|{{PAGENAME}} }} - 17 }} }} }}|4}}|{{ {{str left|{{str right|{{PAGENAME}}|17}}| {{#expr:{{str len|{{PAGENAME}} }} - 17 }} }}| 4 }} }} [[Category: {{#if: {{game icon name|{{str left|{{str right|{{PAGENAME}}|17}}|{{#expr:{{str len|{{PAGENAME}} }} - 17 }} }} }}|{{str left|{{str right|{{PAGENAME}}|17}}|{{#expr:{{str len|{{PAGENAME}} }} - 17 }} }}|{{ {{str left|{{str right|{{PAGENAME}}|17}}|{{#expr:{{str len|{{PAGENAME}} }} - 17 }} }}|name}} }}]] [[Category:Software covers]] <!--cannot be anything else if it failed the other 2 checks-->
 
}}
 
 
 
<!--This works because the shorter string with the same index as the long one has a space at the start, which gets ignored.-->
 
|- Screenshot 1.jpg
 
|- Screenshot 2.jpg
 
|- Screenshot 3.jpg
 
|- Screenshot 4.jpg
 
|- Screenshot 5.jpg
 
|- Screenshot 6.jpg
 
|- Screenshot 7.jpg
 
|- Screenshot 8.jpg
 
|- Screenshot 9.jpg
 
|- Screenshot 10.jpg
 
|- Screenshot 11.jpg
 
|- Screenshot 12.jpg
 
|- Screenshot 13.jpg
 
|- Screenshot 14.jpg
 
|- Screenshot 15.jpg
 
|- Screenshot 16.jpg
 
|- Screenshot 17.jpg
 
|- Screenshot 18.jpg
 
|- Screenshot 19.jpg
 
|- Screenshot 20.jpg
 
|- Screenshot 1.png
 
|- Screenshot 2.png
 
|- Screenshot 3.png
 
|- Screenshot 4.png
 
|- Screenshot 5.png
 
|- Screenshot 6.png
 
|- Screenshot 7.png
 
|- Screenshot 8.png
 
|- Screenshot 9.png
 
|- Screenshot 10.png
 
|- Screenshot 11.png
 
|- Screenshot 12.png
 
|- Screenshot 13.png
 
|- Screenshot 14.png
 
|- Screenshot 15.png
 
|- Screenshot 16.png
 
|- Screenshot 17.png
 
|- Screenshot 18.png
 
|- Screenshot 19.png
 
|- Screenshot 20.png = a screenshot for the page {{#if:{{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 19}} }}|{{ {{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 19}} }}|4}} |{{ {{game icon name|{{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 19}} }} }}|4}} }} [[Category: {{#if:{{game icon name|{{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 19}} }} }}|{{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 19}} }} |{{ {{str left|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}} }}- 19}} }} |name}} }} screenshots]]
 
}}.
 
</onlyinclude></includeonly>
 

Latest revision as of 12:58, 26 October 2023

Warning icon.png
This template has been marked as a candidate for speedy deletion because it is unwanted by the author.
If you object to this decision, then please discuss why hereIf this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators - Remember to check if anything links here and the page history (last edit) before deleting.