Difference between pages "Template:Infobox library" and "Template:Infobox library/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Rcsprinter123
m
 
imported>Evad37
(mapframe-geomask off by default, set to yes to use P276)
 
Line 24: Line 24:
 
| label4    = Established
 
| label4    = Established
 
| data4      = {{#invoke:WikidataIB |getValue |P571 |fwd=ALL |osd=yes |{{{established|}}} }}
 
| data4      = {{#invoke:WikidataIB |getValue |P571 |fwd=ALL |osd=yes |{{{established|}}} }}
| label5    = Dissolved
+
| label5    = Architect
| data5      = {{{dissolved|}}}
+
| data5      = {{#invoke:WikidataIB |getValue |P84 |fwd=ALL|osd=yes |{{{architect|}}} }}
| label6    = Closed
+
| label7    = Dissolved
| data6      = {{{closed|}}}
+
| data7      = {{{dissolved|}}}
| label7    = Architect
+
| label8     = Reference to legal mandate
| data7      = {{#invoke:WikidataIB |getValue |P84 |fwd=ALL|osd=yes |{{{architect|}}} }}
+
| data8     = {{{ref_legal_mandate|}}}
| label9     = Reference to legal mandate
+
| label9     = Location
| data9     = {{{ref_legal_mandate|}}}
+
| class9     = label
| label10     = Location
+
| data9     = {{{location|}}}
| class10     = label
+
| label10   = Service area
| data10     = {{{location|}}}
+
| data10     = {{{service_area|}}}
| label11   = Service area
+
| label11   = Coordinates
| data11     = {{{service_area|}}}
+
| data11     = {{{coordinates|}}}
| label12   = Coordinates
+
| label12   = Branch of
| data12     = {{{coordinates|}}}
+
| data12     = {{{branch_of|}}}
| label13   = Branch of
+
| label13   = Branches
| data13     = {{{branch_of|}}}
+
| data13     = {{{num_branches|}}}
| label14   = Branches
 
| data14     = {{{num_branches|}}}
 
  
 
| header15  = {{#if:{{{items_collected|}}}{{{collection_size|}}}{{#property:P1436}}{{{criteria_for_collection|}}}{{{legal_deposit|}}}|Collection}}
 
| header15  = {{#if:{{{items_collected|}}}{{{collection_size|}}}{{#property:P1436}}{{{criteria_for_collection|}}}{{{legal_deposit|}}}|Collection}}
Line 79: Line 77:
 
| label32    = Funding
 
| label32    = Funding
 
| data32    = {{{funding|}}}
 
| data32    = {{{funding|}}}
| label40    = Public transit access
+
| label33   = Website
| data40      = {{{publictransit|}}}
+
| data33     = {{{website|}}}
| label43   = Website
+
| header34   = {{yesno|{{{mapframe|yes}}}
| data43     = {{{website|}}}
 
| header44   = {{yesno|{{{mapframe|yes}}}
 
 
   |yes = {{#if: {{#property:P625}}{{{coordinates|}}} | {{{map_label|Map}}} }}
 
   |yes = {{#if: {{#property:P625}}{{{coordinates|}}} | {{{map_label|Map}}} }}
 
   |no  = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }}
 
   |no  = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }}
 
   }}
 
   }}
| data45     = {{yesno|{{{mapframe|yes}}}
+
| data35     = {{yesno|{{{mapframe|yes}}}
 
   |no  = {{#if:{{both|{{{location_map|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{{location_map}}}
 
   |no  = {{#if:{{both|{{{location_map|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{{location_map}}}
 
     |alt    = {{{map_alt|}}}
 
     |alt    = {{{map_alt|}}}
Line 106: Line 102:
 
     |marker      = {{{mapframe-marker|library}}}
 
     |marker      = {{{mapframe-marker|library}}}
 
     |marker-color = {{{mapframe-marker-color|{{{mapframe-marker-colour|}}}}}}
 
     |marker-color = {{{mapframe-marker-color|{{{mapframe-marker-colour|}}}}}}
     |frame-coordinates = {{{mapframe-coordinates|{{{mapframe-coord|}}}}}}
+
     |frame-lat    = {{{mapframe-lat|{{{mapframe-latitude|}}}}}}
 +
    |frame-long  = {{{mapframe-long|{{{mapframe-longitude|}}}}}}
 
     |stroke-color = {{{mapframe-stroke-color|{{{mapframe-stroke-colour|}}}}}}
 
     |stroke-color = {{{mapframe-stroke-color|{{{mapframe-stroke-colour|}}}}}}
 
     |geomask = {{yesno|{{{mapframe-geomask|}}}
 
     |geomask = {{yesno|{{{mapframe-geomask|}}}
Line 115: Line 112:
 
     }}
 
     }}
 
   }}
 
   }}
| data46 = {{yesno|{{{mapframe|yes}}} |no=<!-- no mapframe map --> |yes={{{map_caption| {{yesno|{{{mapframe-geomask|}}}
+
| data36 = {{yesno|{{{mapframe|yes}}} |no=<!-- no mapframe map --> |yes={{{map_caption| {{yesno|{{{mapframe-geomask|}}}
 
   |no= |blank=<!-- no geomask -->
 
   |no= |blank=<!-- no geomask -->
 
   |yes={{#if:{{#property:P276}}|Location in {{wikidata|property|{{{id|}}}|P276}}}}
 
   |yes={{#if:{{#property:P276}}|Location in {{wikidata|property|{{{id|}}}|P276}}}}
Line 124: Line 121:
 
  }}<!-- end inner yesno --> }}}<!-- end map_caption param -->
 
  }}<!-- end inner yesno --> }}}<!-- end map_caption param -->
 
}}<!-- end outer yesno -->
 
}}<!-- end outer yesno -->
| header47 = {{{module|}}}
+
| header37 = {{{module|}}}
  
 
| below = {{#if:{{{references|}}}|References:}} {{{references|}}}
 
| below = {{#if:{{{references|}}}|References:}} {{{references|}}}
 
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
 
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox library with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox library]] with unknown parameter "_VALUE_"|ignoreblank=y| affiliation | alt | annual_circulation | architect | branch_of | budget | caption | collection_size | coordinates | country | criteria | criteria_for_collection | dir_since | director | dissolved | embed | established | funding | image | image_size | image_upright | items_collected | legal_deposit | library_logo | library_name | location | location_map | logo | logo_alt | logo_size | logo_upright | map dot label | map_alt | map_caption | map_dot_label | map_label | map_size | members | module | name | native_name | native_name_lang | num_branches | num_employees | parent_organisation | parent_organization | pop_served | publictransit | ref_legal_mandate | references | relief | req_to_access | scope | service_area | specialisation | specialization | type | website | phone_num | mapframe | id | mapframe-zoom | mapframe-width | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-coordinates | mapframe-coord | mapframe-stroke-color | mapframe-stroke-colour | mapframe-geomask }}<noinclude>
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox library with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox library]] with unknown parameter "_VALUE_"|ignoreblank=y| affiliation | alt | annual_circulation | architect | branch_of | budget | caption | collection_size | coordinates | country | criteria | criteria_for_collection | dir_since | director | dissolved | embed | established | funding | image | image_size | image_upright | items_collected | legal_deposit | library_logo | library_name | location | location_map | logo | logo_alt | logo_size | logo_upright | map dot label | map_alt | map_caption | map_dot_label | map_label | map_size | members | module | name | native_name | native_name_lang | num_branches | num_employees | parent_organisation | parent_organization | pop_served | ref_legal_mandate | references | relief | req_to_access | scope | service_area | specialisation | specialization | type | website | phone_num | mapframe | id | mapframe-zoom | mapframe-width | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-lat | mapframe-latitude | mapframe-long | mapframe-longitude | mapframe-stroke-color | mapframe-stroke-colour }}<noinclude>
 
{{documentation}}<!-- place category and templatedate the /doc sub-page, not here -->
 
{{documentation}}<!-- place category and templatedate the /doc sub-page, not here -->
 
</noinclude>
 
</noinclude>