টেমপ্লেট:পতাকা দেশ

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
(টেমপ্লেট:Flagcountry থেকে পুনর্নির্দেশিত)

{{দেশের উপাত্ত {{{1}}}|পতাকা দেশ/মূল|variant=|size=|name=}}

টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

বিবরণ[সম্পাদনা]

{{পতাকা দেশ|nation|variant|size=}}

Produces a flag icon attached to a wikilinked article. This template is similar to the more widely used {{পতাকা}} template, but is more useful for two situations described below.

প্যারামিটার
  • জাতি — জাতির নাম বা কিছু ক্ষেত্রে, একটি তিন অক্ষর দেশের কোড ব্যবহার করা হয়ে থাকে। (উদাহরণঃ আইএসও ৩১৬৬-১ আলফা-৩)
  • বিকল্প (ঐচ্ছিক) — একটি বিকল্প (ঐতিহাসিক) পতাকা ব্যবহার উল্লেখ করার জন্য ব্যবহার করা হয়। এই প্যারামিটার উপযুক্ত টেমপ্লেট অনুযায়ী

এ নথিভুক্ত করা হয়।

  • আকার (ঐচ্ছিক) — পতাকা আইকনটির আকার পরিবর্তন করার জন্য ব্যবহার করা যেতে পারে।

ব্যবহারের উদাহরণ[সম্পাদনা]

  1. {{পতাকা দেশ|ITA}} ইতালি
    In this case, the country code for Italy (ITA) is used to produce the correct flag and wikilink. In many cases, it would probably be preferable to use {{flag}} to produce the same result, such as {{পতাকা|Italy}} for this example. However, {{পতাকা দেশ}} could be used within other templates (such as infoboxes) so that country codes can be used for those template parameters.
  2. {{পতাকা দেশ|ITA|1861}} ইতালি
    Similar to the first example, but with a flag variant parameter to select a historical flag image. Note that the wikilinked article is [[Italy]].
  3. {{পতাকা দেশ|Kingdom of Italy}} ইতালি
    In this example, a different country data template is used, to select an alternative article for the wikilink (in this case, [[Kingdom of Italy|Italy]]). Compare with {{পতাকা|Kingdom of Italy}} Kingdom of Italy, in which "Kingdom of Italy" is the display text for the wikilink. Therefore, the choice of পতাকা দেশ or পতাকা depends on the desired display text; in all other respects, the templates are identical.

আরও দেখুন[সম্পাদনা]