「テンプレート:Store」の版間の差分

提供:ck3wiki
ナビゲーションに移動 検索に移動
 
(同じ利用者による、間の1版が非表示)
1行目: 1行目:
 
<includeonly>{{#switch: {{lc:{{{1|}}} }}
 
<includeonly>{{#switch: {{lc:{{{1|}}} }}
   | pdx = [https://www.paradoxplaza.com/{{{2|}}}]
+
   | pdx = [https://www.paradoxplaza.com/{{{2|}}}?utm_campaign={{UTMcampaign}}_20200514_past Paradox]
   | steam = [https://store.steampowered.com/{{{2|publisher/paradoxinteractive}}}/]
+
   | steam = [https://store.steampowered.com/{{{2|publisher/paradoxinteractive}}}/?utm_campaign={{UTMcampaign}}_20200514_ste Steam]
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Use this template to place links to the Paradox Interactive or Steam store.
+
SteamストアかParadox Interactiveストアへのリンクを置く時にこのテンプレートを使ってください。
  
; Usage
+
; 使い方
To place a '''Paradox Interactive''' store link:
+
'''Paradox Interactive'''ストアへのリンクを置く場合:
 
* Open the desired store page, for example: <code><nowiki>https://www.paradoxplaza.com/stellaris-utopia/STST01ESK0000001.html</nowiki></code>
 
* Open the desired store page, for example: <code><nowiki>https://www.paradoxplaza.com/stellaris-utopia/STST01ESK0000001.html</nowiki></code>
 
* Copy everything after the site name until the "html" tag. In the example above it would be: <code><nowiki>stellaris-utopia/STST01ESK0000001.html</nowiki></code>
 
* Copy everything after the site name until the "html" tag. In the example above it would be: <code><nowiki>stellaris-utopia/STST01ESK0000001.html</nowiki></code>
 
* Paste the copied part into the template. The syntax should look as this: <code><nowiki>{{Store|pdx|stellaris-utopia/STST01ESK0000001.html}}</nowiki></code>
 
* Paste the copied part into the template. The syntax should look as this: <code><nowiki>{{Store|pdx|stellaris-utopia/STST01ESK0000001.html}}</nowiki></code>
* Result: {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}}
+
* サンプル結果: {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}}
  
To place a '''Steam''' store link:
+
'''Steam'''ストアへのリンクを置く場合:
 
* Open the desired store page, for example: <code><nowiki>https://store.steampowered.com/app/553280/Stellaris_Utopia/</nowiki></code>
 
* Open the desired store page, for example: <code><nowiki>https://store.steampowered.com/app/553280/Stellaris_Utopia/</nowiki></code>
 
* Copy the offer type (app, bundle, and etc.) with the associated id. In the example above it would be: <code><nowiki>app/553280</nowiki></code>
 
* Copy the offer type (app, bundle, and etc.) with the associated id. In the example above it would be: <code><nowiki>app/553280</nowiki></code>
 
* Paste the copied part into the template. The syntax should look as this: <code><nowiki>{{Store|steam|app/553280}}</nowiki></code>
 
* Paste the copied part into the template. The syntax should look as this: <code><nowiki>{{Store|steam|app/553280}}</nowiki></code>
* Result: {{Store|steam|app/553280}}
+
* サンプル結果: {{Store|steam|app/553280}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

2021年1月5日 (火) 21:29時点における最新版

SteamストアかParadox Interactiveストアへのリンクを置く時にこのテンプレートを使ってください。

使い方

Paradox Interactiveストアへのリンクを置く場合:

  • Open the desired store page, for example: https://www.paradoxplaza.com/stellaris-utopia/STST01ESK0000001.html
  • Copy everything after the site name until the "html" tag. In the example above it would be: stellaris-utopia/STST01ESK0000001.html
  • Paste the copied part into the template. The syntax should look as this: {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}}
  • サンプル結果: Paradox

Steamストアへのリンクを置く場合:

  • Open the desired store page, for example: https://store.steampowered.com/app/553280/Stellaris_Utopia/
  • Copy the offer type (app, bundle, and etc.) with the associated id. In the example above it would be: app/553280
  • Paste the copied part into the template. The syntax should look as this: {{Store|steam|app/553280}}
  • サンプル結果: Steam