Difference between revisions of "Template:Google LLC"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(simplify)
Line 36: Line 36:
 
   }}<!--endif corporate-->
 
   }}<!--endif corporate-->
  
| group1 = {{
+
| group1 = Advertising
        #ifeq:{{{corporate|yes}}}|no||<!--else-put-->Advertising
 
}}<!--endif corporate-->
 
 
| list1  = {{
 
| list1  = {{
        #ifeq:{{{corporate|yes}}}|no|<!--skip-->|<!--else-put
+
  #ifeq:{{{corporate|yes}}}|no|<!--skip-->|<!--else-put
 
--list1-->
 
--list1-->
 
* [[Ad Manager]]
 
* [[Ad Manager]]
Line 54: Line 52:
 
   }}<!--endif corporate-->
 
   }}<!--endif corporate-->
  
| group2 = {{ <!--See NOTE P2-->
+
| group2 = Communication
        #ifeq:{{{products|yes}}}|no||<!--else-put-->Communication
 
        }}<!--endif products-->
 
 
| list2  = {{
 
| list2  = {{
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
Line 80: Line 76:
 
   }}<!--endif products-->
 
   }}<!--endif products-->
  
| group3 = {{
+
| group3 = Software
        #ifeq:{{{products|yes}}}|no||<!--else-put-->Software
 
        }}<!--endif products-->
 
 
| list3  = {{
 
| list3  = {{
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
Line 111: Line 105:
 
   }}<!--endif products-->
 
   }}<!--endif products-->
  
| group4 = {{
+
| group4 = [[Google platform|Platforms]]
        #ifeq:{{{products|yes}}}|no||<!--else-put-->[[Google platform|Platforms]]
 
        }}<!--endif products-->
 
 
| list4  = {{
 
| list4  = {{
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
Line 144: Line 136:
 
   }}<!--endif products-->
 
   }}<!--endif products-->
  
| group5 = {{
+
| group5 = Development tools
        #ifeq:{{{products|yes}}}|no||<!--else-put-->Development tools
 
        }}<!--endif products-->
 
 
| list5  = {{
 
| list5  = {{
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
Line 174: Line 164:
 
   }}<!--endif products-->
 
   }}<!--endif products-->
  
| group6 = {{
+
| group6 = Publishing
        #ifeq:{{{products|yes}}}|no||<!--else-put-->Publishing
 
        }}<!--endif products-->
 
 
| list6  = {{
 
| list6  = {{
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
Line 195: Line 183:
 
   }}<!--endif products-->
 
   }}<!--endif products-->
  
| group7 = {{ <!--See NOTE C2-->
+
| group7 = [[Google Search|Search]] ([[PageRank]])
        #ifexpr: {{#ifeq: {{{products|yes}}}|no|1|0}} and {{#ifeq: {{{corporate|yes}}}|no|1|0}}||<!--else-put-->[[Google Search|Search]] ([[PageRank]])
+
| list7  = {{ <!--See NOTE C2-->
        }}<!--endif products and corporate-->
 
| list7  = {{
 
 
         #ifexpr: {{#ifeq: {{{products|yes}}}|no|1|0}} and {{#ifeq: {{{corporate|yes}}}|no|1|0}}|<!--skip-->|<!--else-put
 
         #ifexpr: {{#ifeq: {{{products|yes}}}|no|1|0}} and {{#ifeq: {{{corporate|yes}}}|no|1|0}}|<!--skip-->|<!--else-put
 
--list7-->
 
--list7-->
Line 232: Line 218:
 
   }}<!--endif products and corporate-->
 
   }}<!--endif products and corporate-->
  
| group8 = {{ <!--See NOTE P2-->
+
| group8 = [[List of Google products#Discontinued products and services|Discontinued]]
        #ifeq:{{{products|yes}}}|no||<!--else-put-->[[List of Google products#Discontinued products and services|Discontinued]]
+
| list8  = {{ <!--See NOTE P2-->
        }}<!--endif products-->
 
| list8  = {{
 
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
 
         #ifeq:{{{products|yes}}}|no|<!--skip-->|<!--else-put
 
--list8-->
 
--list8-->
Line 276: Line 260:
 
   }}<!--endif products-->
 
   }}<!--endif products-->
  
| group9 = {{ <!--See NOTE C2-->
+
| group9 = [[:Category:Google|Related]]
        #ifeq:{{{corporate|yes}}}|no||<!--else-put-->[[:Category:Google|Related]]
+
| list9  = {{ <!--See NOTE C2-->
        }}<!--endif corporate-->
 
| list9  = {{
 
 
         #ifeq:{{{corporate|yes}}}|no|<!--skip-->|<!--else-put
 
         #ifeq:{{{corporate|yes}}}|no|<!--skip-->|<!--else-put
 
--list9-->
 
--list9-->
Line 327: Line 309:
 
* '''Motto''': [[Don't be evil]]
 
* '''Motto''': [[Don't be evil]]
 
   }}<!--endif corporate-->
 
   }}<!--endif corporate-->
}}<!--end Navbox--><includeonly><!--
+
}}<!--end Navbox--><!--
 
-=============================== Check Invalid parameters
 
-=============================== Check Invalid parameters
 
-- checks spellings: Corporate/coporate/corprate/corperate
 
-- checks spellings: Corporate/coporate/corprate/corperate
 
-- checks: Products/product/produce/produces/porducts/prod
 
-- checks: Products/product/produce/produces/porducts/prod
 
--
 
--
-->{{#ifeq:{{{Corporate|}}}||<!--then-ignore-->|<!--
+
-->{{#if:{{{Corporate|}}}|<!--
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "'''C'''orporate", try corporate=no (lowercase).}}<!--endifeq
+
-- report error--><br>In {{tl|Google Inc.}} - Invalid parameter "'''C'''orporate", try corporate=no (lowercase)
-->{{#ifeq:{{{coporate|}}}||<!--then-ignore-->|<!--
+
}}{{#if:{{{coporate|}}}{{{corprate|}}}{{{corperate|}}}|<!--
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "'''co'''porate", try corporate=no.}}<!--endifeq
+
-- report error--><br>In {{tl|Google Inc.}} - Invalid parameter, try corporate=no
-->{{#ifeq:{{{corprate|}}}||<!--then-ignore-->|<!--
+
}}{{#if:{{{Products|}}}|<!--
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "cor'''pr'''ate", try corporate=no.}}<!--endifeq
+
-- report error--><br>In {{tl|Google Inc.}} - Invalid parameter "''P''roducts", try products=no (lowercase)
-->{{#ifeq:{{{corperate|}}}||<!--then-ignore-->|<!--
+
}}{{#if:{{{product|}}}{{{produce|}}}{{{produces|}}}{{{porducts|}}}{{{prod|}}}|<!--
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "corp'''er'''ate", try corporate=no.}}<!--endifeq
+
-- report error--><br>In {{tl|Google Inc.}} - Invalid parameter, try products=no
--
+
}}{{#if:{{{all|}}}|<!--
-->{{#ifeq:{{{Products|}}}||<!--then-ignore-->|<!--
+
-- report error--><br>In {{tl|Google Inc.}} - Invalid parameter "all", try coporate=yes or products=yes
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "''P''roducts", try products=no (lowercase)}}<!--endifeq
+
}}{{#if:{{{none|}}}|<!--
-->{{#ifeq:{{{product|}}}||<!--then-ignore-->|<!--
+
-- report error--><br>In {{tl|Google Inc.}} - Invalid parameter "none", try coporate=no or products=no
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "produc'''t'''" singular; try products=no (plural).}}<!--endifeq
+
}}<noinclude>
-->{{#ifeq:{{{produce|}}}||<!--then-ignore-->|<!--
 
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "produc'''e'''", try products=no (plural).}}<!--endifeq
 
--
 
-->{{#ifeq:{{{produces|}}}||<!--then-ignore-->|<!--
 
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "produc'''es'''", try products=no (plural).}}<!--endifeq
 
-->{{#ifeq:{{{porducts|}}}||<!--then-ignore-->|<!--
 
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "p'''or'''ducts", try products=no.}}<!--endifeq
 
-->{{#ifeq:{{{prod|}}}||<!--then-ignore-->|<!--
 
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "prod", try products=no (full-word).}}<!--endifeq
 
--
 
-->{{#ifeq:{{{all|}}}||<!--then-ignore-->|<!--
 
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "all", try coporate=yes or products=yes.}}<!--endifeq
 
-->{{#ifeq:{{{none|}}}||<!--then-ignore-->|<!--
 
--else report error--><br>In {{tl|Googe Inc.}} - Invalid parameter "none", try coporate=no or products=no.}}<!--endifeq
 
--
 
--></includeonly><noinclude>
 
 
{{Documentation}}<!--
 
{{Documentation}}<!--
 
--      -------------------------------------------------
 
--      -------------------------------------------------

Revision as of 14:25, 27 April 2013

Template documentation[view] [edit] [history] [purge]

Purpose

This template displays a navigation-box (navbox) linking articles related to the company Google Inc., along with its products, services or personnel.

Usage

{{Google LLC}}

Parameters

Initial visibility: currently defaults to collapsed

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Google LLC|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Google LLC|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Google LLC|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to collapsed.