Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現時点では、 のようなプレーヤーの国を印刷してい<p>{{data['nation']}}</p>ます。異なる画像を置くことができるすべての国に変更したい(画像は../images次のような名前のフォルダーにあります: american.png、british.png... データからの国は1for american、2for ですbritish)。値に基づいて国家の別の画像を表示する方法は? Tornado テンプレートを使用しています。
<p>{{data['nation']}}</p>
../images
american.png
british.png
1
american
2
british