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

TemplateDataを作成
(ヘッダー扱いされないよう改良)
(TemplateDataを作成)
14行目: 14行目:
=== 使い方 ===
=== 使い方 ===
<nowiki>{{App|アプリ名|アイコン画像のファイル名|AppStoreのアプリID|GooglePlayのアプリID|説明文}}</nowiki>
<nowiki>{{App|アプリ名|アイコン画像のファイル名|AppStoreのアプリID|GooglePlayのアプリID|説明文}}</nowiki>
<templatedata>
{
"params": {
"1": {
"label": "アプリ名",
"description": "上部に表示されます",
"example": "グリモア〜私立グリモワール魔法学園〜",
"type": "string",
"suggested": true
},
"2": {
"label": "アイコン画像のファイル名",
"description": "事前にアップロードしておいてください。",
"example": "Icon a.png",
"type": "wiki-file-name",
"suggested": true
},
"3": {
"label": "AppStoreのアプリID",
"description": "たとえば、アプリのページURLがhttps://apps.apple.com/jp/app/example/id000000000のとき、アプリIDは000000000です。",
"example": "897829191",
"type": "number",
"required": true
},
"4": {
"label": "GooglePlayのアプリID",
"description": "たとえば、アプリのページURLがhttps://play.google.com/store/apps/details?id=com.example.exampleのとき、アプリIDはcom.example.exampleです。",
"type": "string",
"required": true
},
"5": {
"label": "説明文",
"description": "下に表示されます。Wikiテキストを使えます。",
"example": "本体ゲーム。現在サービス・配信終了。",
"type": "unbalanced-wikitext",
"suggested": true
}
},
"description": "スマホアプリ用テンプレート",
"format": "inline"
}
</templatedata>
</noinclude>
</noinclude>