الگو:Infobox: تفاوت بین نسخه‌ها

از IRMUG
پرش به: ناوبری، جستجو
جز (۱۵ نسخه: ورود مجدد مطالب)
 
(۱۴ ویرایش میانی توسط ۲ کاربر نشان داده نشده‌است)
سطر ۱: سطر ۱:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="background-color: #F8F8F8; border: 1px solid black; float:left; width:22em; text-align:right; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
+
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="background-color: #F9F9F9; border: 1px solid #AAA; float:left; width:22em; text-align:right; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
 
  Caption
 
  Caption
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--

نسخهٔ کنونی تا ‏۱۶ مهٔ ۲۰۱۵، ساعت ۱۵:۱۶

{{#ifeq:|yes||{{#if:|}}{{#if:|{{#if:{{{above}}} |
|{{#if:
|{{#if: | }} }} }} }}{{#ifeq:|yes|{{#if:|{{{title}}}}}}}{{#if:|{{#if: |
|{{#if:
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{subheader2}}}
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{image1}}} {{#if:|
{{{caption1}}}}}
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{image2}}}{{#if:|
{{{caption2}}}}}
|{{#if: | }} }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if:|}}{{#if:|}} {{#ifeq:|yes||
{{{title}}}
{{{above}}}
{{{label}}} |
 }}
{{{data}}}
{{{header}}}
{{{label}}} |
 }}
{{{header}}}
{{{label}}} |
 }}
{{{subheader2}}}
{{{header}}}
{{{label}}} |
 }}
{{{image1}}} {{#if:|
{{{caption1}}}}}
{{{header}}}
{{{label}}} |
 }}
{{{image2}}}{{#if:|
{{{caption2}}}}}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
{{{below}}}
الگو:Navbar
}}

{{#ifeq: Infobox | sandbox

|
الگو:Template sandbox notice

}}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:الگو|الگو
   | template
   | other
   }}
 }}

| template = {{#ifeq: | sysop

 | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:infobox/الگو|infobox/الگو|undefined|{{#ifeq:infobox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:infobox/الگو|infobox/الگو|undefined|{{#ifeq:infobox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:infobox/الگو|infobox/الگو|undefined|{{#ifeq:infobox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:infobox/الگو|infobox/الگو|undefined|{{#ifeq:infobox|sandbox|sysop|undefined}}}}
           |semi
           |autoconfirmed=autoconfirmed
           |administrator
           |full
           |sysop=sysop
           |undefined=
           |#default=}}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:yes|yes|

| الگو:Mbox }}|}}{{#ifeq:{{#ifeq:الگو|الگو|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |#default=}}}}{{#ifeq:الگو|پرونده|[[category:{{#switch:
  |semi
  |autoconfirmed=semi-protected
  |administrator
  |full
  |sysop
  |#default=protected}} images|infobox]]}}|no||{{#ifeq:الگو|الگو|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |#default=}}}}{{#ifeq:الگو|پرونده|[[Category:{{#switch:
  |semi
  |autoconfirmed=Semi-protected
  |administrator
  |full
  |sysop
  |#default=Protected}} images|Infobox]]}}}}
 | {{#if: 
   | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:infobox/الگو|infobox/الگو|undefined|{{#ifeq:infobox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:infobox/الگو|infobox/الگو|undefined|{{#ifeq:infobox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:infobox/الگو|infobox/الگو|undefined|{{#ifeq:infobox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:infobox/الگو|infobox/الگو|undefined|{{#ifeq:infobox|sandbox|sysop|undefined}}}}
           |semi
           |autoconfirmed=autoconfirmed
           |administrator
           |full
           |sysop=sysop
           |undefined=
           |#default=}}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:yes|yes|

| الگو:Mbox }}|}}{{#ifeq:{{#ifeq:الگو|الگو|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |#default=}}}}{{#ifeq:الگو|پرونده|[[category:{{#switch:
  |semi
  |autoconfirmed=semi-protected
  |administrator
  |full
  |sysop
  |#default=protected}} images|infobox]]}}|no||{{#ifeq:الگو|الگو|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |#default=}}}}{{#ifeq:الگو|پرونده|[[Category:{{#switch:
  |semi
  |autoconfirmed=Semi-protected
  |administrator
  |full
  |sysop
  |#default=Protected}} images|Infobox]]}}}}
   | 
   }}
 }}

| other | #default =

}}
{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: الگو
 | 
 | پرونده
 | مدیاویکی
 | رده = بحث الگو
 | #default = الگو

}}:{{#switch: Infobox | sandbox | testcases = Infobox | #default = Infobox }}/doc

   }}
 | yes
 }}
   | [[{{fullurl:{{#if: 
 | 
 | {{#switch: الگو
 | 
 | پرونده
 | مدیاویکی
 | رده = بحث الگو
 | #default = الگو

}}:{{#switch: Infobox | sandbox | testcases = Infobox | #default = Infobox }}/doc

 }}|action=edit}} edit]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: الگو
 | 
 | پرونده
 | مدیاویکی
 | رده = بحث الگو
 | #default = الگو

}}:{{#switch: Infobox | sandbox | testcases = Infobox | #default = Infobox }}/doc

 }}| action=edit&preload={{
       #if:  
       | 
       | {{#ifeq: الگو | پرونده
         | Template:Documentation/preload-filespace
         | Template:Documentation/preload
         }} }} }} create]]
   }}
 }} {{#switch: ¬
 | ¬ =   
   {{#switch: الگو 
   | الگو =  Template documentation
   | پرونده = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
}}

}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: الگو

 | 
 | پرونده
 | مدیاویکی
 | رده = بحث الگو
 | #default = الگو

}}:{{#switch: Infobox | sandbox | testcases = Infobox | #default = Infobox }}/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ {{#switch: الگو

 | 
 | پرونده
 | مدیاویکی
 | رده = بحث الگو
 | #default = الگو

}}:{{#switch: Infobox | sandbox | testcases = Infobox | #default = Infobox }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}

{{#if:
 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: الگو
 | 
 | پرونده
 | مدیاویکی
 | رده = بحث الگو
 | #default = الگو

}}:{{#switch: Infobox | sandbox | testcases = Infobox | #default = Infobox }}/doc

   }}
 | yes
 }}{{
   #switch: الگو
   | کاربر
   | الگو = yes
   }}
 }}
| {{#ifeq:none|none | | }} {{#if: |

}}

{{#switch:

| | warning | editnotice | system =

| #default =
This message box is using an invalid "type=" parameter and needs fixing.
[[Category:Wikipedia message box parameter needs fixing|الگو:Main otherالگو:Infobox]]

}} }}{{#if:

 {{#switch: Infobox
 | doc
 | testcases = strange
 }}

| [[Category:Wikipedia pages with strange ((documentation)) usage|الگو:Main otherالگو:Infobox]]

}}