Difference between revisions of "Template:Steamid"

From Team Fortress Wiki
Jump to: navigation, search
m (Add support for deleted accounts and fallback for missing ids.)
m ((FR) Translated line)
 
(14 intermediate revisions by 9 users not shown)
Line 2: Line 2:
 
   | {{tooltip|{{{1}}}|{{lang|
 
   | {{tooltip|{{{1}}}|{{lang|
 
     | en = This user has deleted their Steam account.
 
     | en = This user has deleted their Steam account.
 +
    | de = Dieser Spieler hat seinen Steam-Account gelöscht.
 +
    | es = Este usuario ha eliminado su cuenta de Steam.
 +
    | fr = Cet utilisateur a supprimé son compte Steam.
 +
    | pl = Ten użytkownik usunął swoje konto Steam.
 +
    | pt = A conta Steam deste utilizador foi eliminada.
 
     | pt-br = A conta Steam deste usuário foi excluída.
 
     | pt-br = A conta Steam deste usuário foi excluída.
 +
    | ro = Acest utilizator și-a șters contul de Steam.
 +
    | ru = Данный пользователь удалил свой аккаунт в Steam.
 +
    | zh-hans = 该用户注销了自己的Steam账号。
 
     }}
 
     }}
 
   }}
 
   }}
 
   | {{#switch:{{{1|}}}
 
   | {{#switch:{{{1|}}}
 
     | id = [https://steamcommunity.com/id/{{{2}}} {{{3|{{{2}}}}}}]
 
     | id = [https://steamcommunity.com/id/{{{2}}} {{{3|{{{2}}}}}}]
     | #default = {{#ifexist: Template:Dictionary/steam ids/{{{1}}} | [https://steamcommunity.com/id/{{{1}}} {{{2|{{steam name|{{{1}}}}}}}}] | [https://steamcommunity.com/id/{{{1}}} {{{2|{{{1}}}}}}]{{lang|
+
     | #default = [https://steamcommunity.com/profiles/{{{1}}} {{{2|{{Dictionary/steam ids/{{{1}}}|nickname}} }}}]
    | en =  (Steam account not in [[Template:Dictionary/steam_ids/list|dictionary]])
 
    | pt-br =
 
    }}
 
 
   }}
 
   }}
}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{ts|en, pt-br}}
+
{{ts|en, de, es, fr, pl, pt, pt-br, ro, ru, zh-hans}}
 
{{doc begin}}
 
{{doc begin}}
* {{tlx|steamid|id|robinwalker}} generates {{Steamid|id|robinwalker}}.
 
* {{tlx|steamid|id|robinwalker|Robin Walker on Steam}} generates {{Steamid|id|robinwalker|Robin Walker on Steam}}.
 
 
* {{tlx|steamid|76561197960435530}} generates {{Steamid|76561197960435530}}.
 
* {{tlx|steamid|76561197960435530}} generates {{Steamid|76561197960435530}}.
 
* {{tlx|steamid|76561197960435530|Steam user}} generates {{Steamid|76561197960435530|Steam user}}.
 
* {{tlx|steamid|76561197960435530|Steam user}} generates {{Steamid|76561197960435530|Steam user}}.
 
* {{tlx|steamid|76561197960435530|3=deleted=yes}} generates {{Steamid|76561197960435530|deleted=yes}}.
 
* {{tlx|steamid|76561197960435530|3=deleted=yes}} generates {{Steamid|76561197960435530|deleted=yes}}.
* {{tlx|steamid|00000000000000000}} generates {{Steamid|00000000000000000}}.
+
* {{tlx|steamid|id|robinwalker}} generates {{Steamid|id|robinwalker}}.
* {{tlx|steamid|00000000000000000|Steam user}} generates {{Steamid|00000000000000000|Steam user}}.
+
* {{tlx|steamid|id|robinwalker|Robin Walker on Steam}} generates {{Steamid|id|robinwalker|Robin Walker on Steam}}.
  
 
[[Category:Formatting templates|Steamid]]
 
[[Category:Formatting templates|Steamid]]
 
[[Category:Link insertion templates|Steamid]]
 
[[Category:Link insertion templates|Steamid]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:29, 17 February 2024

Documentation for Steamid