الفرق بين النسختين بتاع: «قالب:Flag template documentation»

تم حذف المحتوى تمت إضافة المحتوى
لا ملخص تعديل
ص heading
سطر 1:
==UsageDescription==
:<code><nowiki>{{</nowiki>{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{3|}}}|{{{3}}}|{{#if:{{{4|}}}|{{{4}}}|?}}}}}}<nowiki>}}</nowiki></code>
Renders a flag icon and wikilink to [[{{{1}}}]]. This template is equivalent to {{tlx|flag|{{{1}}}}}, but is named after the standard three letter {{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{#ifeq:{{{2}}}|{{{3}}}|{{#ifeq:{{{3}}}|{{{4}}}|[[ISO 3166-1 alpha-3]] country code, [[List of IOC country codes|IOC code]], and [[List of FIFA country codes|FIFA code]]|[[ISO 3166-1 alpha-3]] country code and [[List of IOC country codes|IOC code]]}}|{{#ifeq:{{{2}}}|{{{4}}}|[[ISO 3166-1 alpha-3]] country code and [[List of FIFA country codes|FIFA code]]|[[ISO 3166-1 alpha-3]] country code}}}}|{{#ifeq:{{{2}}}|{{{3}}}|[[ISO 3166-1 alpha-3]] country code and [[List of IOC country codes|IOC code]]|[[ISO 3166-1 alpha-3]] country code}}}}|{{#if:{{{4|}}}|{{#ifeq:{{{2}}}|{{{4}}}|[[ISO 3166-1 alpha-3]] country code and [[List of FIFA country codes|FIFA code]]|[[ISO 3166-1 alpha-3]] country code}}|[[ISO 3166-1 alpha-3]] country code}}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{#ifeq:{{{3}}}|{{{4}}}|[[List of IOC country codes|IOC country code]] and [[List of FIFA country codes|FIFA code]]|[[List of IOC country codes|IOC country code]]}}|[[List of IOC country codes|IOC country code]]}}|{{#if:{{{4|}}}|[[List of FIFA country codes|FIFA country code]]|country code}}}}}} for {{{1}}} as a shorthand editing convenience.