Difference between revisions of "Template:Google LLC"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(remove the weird non-transclusion for now as there's no support for it. happy to have parameters added to filter what's shown, though. move cats to doc page)
imported>Wikid77
(added parameters: corporate=yes, products=yes: see Talk#Balance concerns of corporate/products/wiki/more)
Line 1: Line 1:
{{navbox
+
{{navbox<!--
| name      = Google Inc.
+
-- Template Google_Inc. - Navigation box/page for Google articles
| title    = [[Google|Google Inc.]]
+
--
| above = {{nowrap begin}}'''Chairman/CEO''': [[Eric E. Schmidt]]{{·wrap}} '''Director/Technology President''': [[Sergey Brin]]{{·wrap}} '''Director/Products President''': [[Larry Page]]{{·wrap}} '''CFO''': [[George Reyes]]<br />'''Other Directors''': [[John Doerr]]{{·wrap}} [[John L. Hennessy]]{{·wrap}} [[Arthur D. Levinson]]{{·wrap}} [[Ann Mather]]{{·wrap}} [[Paul Otellini]]{{·wrap}} [[Ram Shriram]]{{·wrap}} [[Shirley M. Tilghman]]{{nowrap end}}
+
--    This code handles parameters: corporate=yes or products=yes,
| group1  = Advertising
+
--    rejecting likely invalid spellings. The standalone navpage
| list1    = [[AdSense]]{{·}} [[Google Advertising Professionals|Advertising Professionals]]{{·}} [[AdWords]]{{·}} [[Google Analytics|Analytics]]{{·}} [[Google Base|Base]]{{·}} [[Google Checkout|Checkout]]{{·}} [[AdWords#Click-to-Call|Click-to-Call]]{{·}} [[DoubleClick]]<small>&nbsp;(pending)</small>{{·}} [[Google Trends|Trends]]| group2  = Communication
+
--    mode shows extra links beyond navbox mode (see NOTES below).
| list2    = [[Google Answers|Answers]]{{·}} [[Google Apps|Apps]]{{·}} [[Google Calendar|Calendar]]{{·}} [[Dodgeball (service)|Dodgeball]]{{·}} [[Gmail]]{{·}} [[GrandCentral]]{{·}} [[Google Groups|Groups]]{{·}} [[Google Talk|Gtalk]]{{·}} [[Joga Bonito]]{{·}} [[Orkut]]{{·}} [[Picasa#Picasa Web Albums|Picasa Web Albums]]{{·}} [[Google Reader|Reader]]
+
-->
| group3  = Computer Software
+
| name  = Google Inc.
| list3    = [[Android (mobile phone platform)|Android]] (GPhone){{·}} [[Google Browser Sync|Browser Sync]]{{·}} [[Google Co-op|Co-op]]{{·}} [[Google Desktop|Desktop]]{{·}} [[Google Earth|Earth]]{{·}} [[Google Gears|Gears]]{{·}} [[Gmail Mobile]]{{·}} [[Keyhole Markup Language|Keyhole ML]]{{·}} [[OpenSocial]]{{·}} [[Google Pack|Pack]]{{·}} [[Picasa]]{{·}} [[Google Pinyin|Pinyin]]{{·}} [[SketchUp]]{{·}} [[Google Talk|Talk]]{{·}} [[Google Toolbar|Toolbar]]{{·}} [[Google Pack#Google Updater|Updater]]{{·}} [[Google Video#Google Video Player|Video Player]]{{·}} [[Google Web Accelerator|Web Accelerator]]
+
| title = <includeonly> &nbsp; &nbsp; &nbsp;<!--See NOTE T2--
| group4  = Publishing
+
--> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </includeonly><!--
| list4    = [[Google Book Search|Book Search]]{{·}} [[Google Books Library Project]]{{·}} [[Blogger (service)|Blogger]]{{·}} [[Google Docs|Docs]]{{·}} [[FeedBurner]]{{·}} [[iGoogle]]{{·}} [[Jaiku]]{{·}} [[JotSpot]]{{·}} [[Knol]]{{·}} [[Google Notebook|Notebook]]{{·}} [[Google Page Creator|Page Creator]]{{·}} [[Google Video|Video]]&nbsp;([[Google Video Marketplace|Marketplace]]){{·}} [[YouTube]]
+
-->[[Google|Google Inc.]]<includeonly>&nbsp; <small><!--
| group5  = Search ([[PageRank]])
+
-->[[Template:Google Inc.|[full navpage] ]]</small></includeonly>
| list5    = [[Google Book Search|Books]]{{·}} [[Google Code Search|Code]]{{·}} [[Google Desktop|Desktop]]{{·}} [[Google Finance|Finance]]{{·}} [[GOOG-411]]{{·}} [[Google Image Search|Images]]{{·}} [[Google Maps|Maps]]{{·}} [[Google News|News]]{{·}} [[Google Patents|Patents]]{{·}} [[Google Product Search|Products]]{{·}} [[Google Scholar|Scholar]]{{·}} [[Sitemaps]]{{·}} [[Google Street View|Street View]]{{·}} [[Google Groups|Usenet]]{{·}} [[Google Video|Video]]{{·}} [[Google Search|Web]]
 
| group6  = Other
 
| list6    = [[Google Alerts|Alerts]]{{·}} [[Google Bookmarks|Bookmarks]]{{·}} [[Google Code|Code]]{{·}} [[Google Summer of Code|Summer of Code]]{{·}} [[Google Translate|Translate]]{{·}} [[Google WiFi|WiFi]]
 
| group7  = See also
 
| list7    = [[List of Google acquisitions|Acquisitions]]{{·}} [[Google bomb|Bomb]]{{·}} [[Censorship by Google|Censorship]]{{·}} [[Criticism of Google|Criticism]]{{·}} [[Google China]]{{·}} [[Google.org]]{{·}} [[Googleplex]]{{·}} [[Google.org#Google Foundation|Foundation]]{{·}} [[History of Google|History]]{{·}} [[Google's hoaxes|Hoaxes]]{{·}} [[I'm Feeling Lucky]]{{·}} [[Google Labs|Labs]]{{·}} [[Google logo|Logo]]{{·}} [[Google platform|Platform]]{{·}} [[List of Google products|Products]]
 
  
| below    = {{nowrap begin}}'''Annual Revenue''': [[United States dollar|US$]]16.59 billion ({{profit}}56% [[fiscal year|FY]] 2007){{·wrap}} '''Employees''': 16,805 full-time ([[December 31]] [[2007]]){{·wrap}} '''Stock Symbol''': ({{nasdaq2|GOOG}}, {{lse2|GGEA}}){{·wrap}} '''Motto''': [[Don't be evil]]{{·wrap}} '''Website''': [http://www.google.com/ www.google.com]{{nowrap end}}
+
| above = {{ <!--See NOTE C2-->
}}<noinclude>{{documentation}}</noinclude>
+
  #ifeq: {{{corporate|no<noinclude>yes</noinclude>}}}|no|<!--skip--
 +
-->|<!--else-put-text
 +
--> {{nowrap begin}}'''Chairman/CEO''': [[Eric E. Schmidt]]{{·wrap}} '''Director/Technology President''': [[Sergey Brin]]{{·wrap}} '''Director/Products President''': [[Larry Page]]{{·wrap}} '''CFO''': [[George Reyes]]<br />'''Other Directors''': [[John Doerr]]{{·wrap}} [[John L. Hennessy]]{{·wrap}} [[Arthur D. Levinson]]{{·wrap}} [[Ann Mather]]{{·wrap}} [[Paul Otellini]]{{·wrap}} [[Ram Shriram]]{{·wrap}} [[Shirley M. Tilghman]]{{nowrap end}}
 +
    }}<!--endif corporate-->
 +
 
 +
| group1  = {{
 +
  #ifeq: {{{corporate|no<noinclude>yes</noinclude>}}}|no|<!--skip--
 +
-->|<!--else-put-text
 +
-->Advertising
 +
    }}<!--endif corporate--> <!--See NOTE P2-->
 +
| list1    = {{
 +
  #ifeq: {{{corporate|no<noinclude>yes</noinclude>}}}|no|<!--skip--
 +
-->|<!--else-put-text
 +
-->[[AdSense]]{{·}} [[Google Advertising Professionals|Advertising Professionals]]{{·}} [[AdWords]]{{·}} [[Google Analytics|Analytics]]{{·}} [[Google Base|Base]]{{·}} [[Google Checkout|Checkout]]{{·}} [[AdWords#Click-to-Call|Click-to-Call]]{{·}} [[DoubleClick]]<small>&nbsp;(pending)</small>{{·}} [[Google Trends|Trends]]
 +
    }}<!--endif corporate-->
 +
 
 +
| group2  = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
--> Communication
 +
    }}<!--endif products--> <!--See NOTE P2-->
 +
| list2    = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
--> [[Google Answers|Answers]]{{·}} [[Google Apps|Apps]]{{·}} [[Google Calendar|Calendar]]{{·}} [[Dodgeball (service)|Dodgeball]]{{·}} [[Gmail]]{{·}} [[GrandCentral]]{{·}} [[Google Groups|Groups]]{{·}} [[Google Talk|Gtalk]]{{·}} [[Joga Bonito]]{{·}} [[Orkut]]{{·}} [[Picasa#Picasa Web Albums|Picasa Web Albums]]{{·}} [[Google Reader|Reader]]
 +
    }}<!--endif products-->
 +
 
 +
| group3  = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
-->Computer Software
 +
    }}<!--endif products-->
 +
| list3    = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
-->[[Android (mobile phone platform)|Android]] (GPhone){{·}} [[Google Browser Sync|Browser Sync]]{{·}} [[Google Co-op|Co-op]]{{·}} [[Google Desktop|Desktop]]{{·}} [[Google Earth|Earth]]{{·}} [[Google Gears|Gears]]{{·}} [[Gmail Mobile]]{{·}} [[Keyhole Markup Language|Keyhole ML]]{{·}} [[OpenSocial]]{{·}} [[Google Pack|Pack]]{{·}} [[Picasa]]{{·}} [[Google Pinyin|Pinyin]]{{·}} [[SketchUp]]{{·}} [[Google Talk|Talk]]{{·}} [[Google Toolbar|Toolbar]]{{·}} [[Google Pack#Google Updater|Updater]]{{·}} [[Google Video#Google Video Player|Video Player]]{{·}} [[Google Web Accelerator|Web Accelerator]]
 +
    }}<!--endif products-->
 +
 
 +
| group4  = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
-->Publishing
 +
    }}<!--endif products-->
 +
| list4    = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
-->[[Google Book Search|Book Search]]{{·}} [[Google Books Library Project]]{{·}} [[Blogger (service)|Blogger]]{{·}} [[Google Docs|Docs]]{{·}} [[FeedBurner]]{{·}} [[iGoogle]]{{·}} [[Jaiku]]{{·}} [[JotSpot]]{{·}} [[Knol]]{{·}} [[Google Notebook|Notebook]]{{·}} [[Google Page Creator|Page Creator]]{{·}} [[Google Video|Video]]&nbsp;([[Google Video Marketplace|Marketplace]]){{·}} [[YouTube]]
 +
    }}<!--endif products-->
 +
 
 +
| group5  = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
-->Search ([[PageRank]])
 +
    }}<!--endif products-->
 +
| list5    = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
-->[[Google Book Search|Books]]{{·}} [[Google Code Search|Code]]{{·}} [[Google Desktop|Desktop]]{{·}} [[Google Finance|Finance]]{{·}} [[GOOG-411]]{{·}} [[Google Image Search|Images]]{{·}} [[Google Maps|Maps]]{{·}} [[Google News|News]]{{·}} [[Google Patents|Patents]]{{·}} [[Google Product Search|Products]]{{·}} [[Google Scholar|Scholar]]{{·}} [[Sitemaps]]{{·}} [[Google Street View|Street View]]{{·}} [[Google Groups|Usenet]]{{·}} [[Google Video|Video]]{{·}} [[Google Search|Web]]
 +
    }}<!--endif products-->
 +
 
 +
| group6  = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
-->Other
 +
    }}<!--endif products--> <!--See NOTE P2-->
 +
| list6    = {{
 +
  #ifeq: {{{products|yes}}}|no|<!--skip-->|<!--else-put-text
 +
-->[[Google Alerts|Alerts]]{{·}} [[Google Bookmarks|Bookmarks]]{{·}} [[Google Code|Code]]{{·}} [[Google Summer of Code|Summer of Code]]{{·}} [[Google Translate|Translate]]{{·}} [[Google WiFi|WiFi]]
 +
    }}<!--endif products-->
 +
 
 +
| group7  = {{
 +
  #ifeq: {{{corporate|no<noinclude>yes</noinclude>}}}|no|<!--skip--
 +
-->|<!--else-put-text
 +
-->See also
 +
    }}<!--endif corporate--> <!--See NOTE C2-->
 +
| list7    = {{
 +
  #ifeq: {{{corporate|no<noinclude>yes</noinclude>}}}|no|<!--skip--
 +
-->|<!--else-put-text
 +
-->[[List of Google acquisitions|Acquisitions]]{{·}} [[Google bomb|Bomb]]{{·}} [[Censorship by Google|Censorship]]{{·}} [[Criticism of Google|Criticism]]{{·}} [[Google China]]{{·}} [[Google.org]]{{·}} [[Googleplex]]{{·}} [[Google.org#Google Foundation|Foundation]]{{·}} [[History of Google|History]]{{·}} [[Google's hoaxes|Hoaxes]]{{·}} [[I'm Feeling Lucky]]{{·}} [[Google Labs|Labs]]{{·}} [[Google logo|Logo]]{{·}} [[Google platform|Platform]]{{·}} [[List of Google products|Products]]
 +
    }}<!--endif corporate--><noinclude><!--
 +
--=========================================== Links only on navpage
 +
-- Links here will NOT appear in navbox mode.
 +
-->
 +
| group8  = More Search Sites
 +
| list8    = [[Alexa]]{{·}} [[Dogpile]]{{·}} [[Live Search]]{{·}} [[Yahoo! Search]]
 +
</noinclude><!--
 +
--=========================================== Bottom links-->
 +
| below    = {{
 +
  #ifeq: {{{corporate|no<noinclude>yes</noinclude>}}}|no|<!--skip--
 +
-->|<!--else-put-text
 +
-->{{nowrap begin}}'''Annual Revenue''': [[United States dollar|US$]]16.59 billion ({{profit}}56% [[fiscal year|FY]] 2007){{·wrap}} '''Employees''': 16,805 full-time ([[December 31]] [[2007]]){{·wrap}} '''Stock Symbol''': ({{nasdaq2|GOOG}}, {{lse2|GGEA}}){{·wrap}} '''Motto''': [[Don't be evil]]{{·wrap}} '''Website''': [http://www.google.com/ www.google.com]{{nowrap end}}
 +
  }}<!--endif corporate-->
 +
}}<!--end Navbox--><!--
 +
-======================================== Check Invalid parameters
 +
-- checks spellings: Corporate/coporate/corprate
 +
-- checks spellings: Products/produce/product/produces/porducts
 +
--
 +
-->{{#ifeq: {{{Corporate|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "'''C'''orporate", try corporate=yes (lowercase).}}<!--endifeq
 +
-->{{#ifeq: {{{coporate|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "'''co'''porate", try corporate=yes.}}<!--endifeq
 +
-->{{#ifeq: {{{corprate|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "cor'''pr'''ate", try corporate=yes.}}<!--endifeq
 +
--
 +
-->{{#ifeq: {{{Products|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "''P''roducts", try products=yes (lowercase)}}<!--endifeq
 +
-->{{#ifeq: {{{product|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "produc'''t'''" singular; try products=yes (plural).}}<!--endifeq
 +
-->{{#ifeq: {{{produce|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "produc'''e'''", try products=yes (plural).}}<!--endifeq
 +
--
 +
-->{{#ifeq: {{{produces|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "produc'''es'''", try products=yes (plural).}}<!--endifeq
 +
-->{{#ifeq: {{{porducts|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "p'''or'''ducts", try products=yes.}}<!--endifeq
 +
-->{{#ifeq: {{{prod|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "prod", try "products" (full-word).}}<!--endifeq
 +
--
 +
-->{{#ifeq: {{{all|xnone}}}|xnone|<!--then-ignore-->|<!--
 +
--else report error--><br/>In Template:Googe_Inc. - Invalid parameter "all", try coporate=yes or products=yes.}}<!--endifeq
 +
--
 +
--><noinclude>''See:'' [[Template:Google_Inc./doc]].<!--
 +
--      -------------------------------------------------
 +
--NOTES:
 +
--
 +
-- NOTE C2: Parameter "corporate=yes" shows company info for CEO,
 +
--          stock/etc. plus groups "Advertising" & "See also".
 +
--
 +
-- NOTE N2: This template invokes Template:Navbox by passing
 +
--          parameters for each section of the generated box, such
 +
--          as parameter names "above, group1, list1, below" etc.
 +
--
 +
-- NOTE P2: Parameter "products=yes" shows product info, which
 +
--          includes most of the group/list sections, but not
 +
--          the group/list for "Advertising".
 +
--
 +
-- NOTE T2: When transcluded, title-bar shows "[full navpage]" for
 +
--          readers to display the full menu, as a standalone page.
 +
--          To align title with potential other stacked navboxes,
 +
--          leading-blanks are padded when "[full navpage]" seen.
 +
--
 +
-- NOTE V9: This is coded for MediaWiki language 1.11.1 (Jan.2008);
 +
--          wiki-format now omits HTML comments on Internet xfer.
 +
--HISTORY:
 +
-- 18Feb08 Added parameters: corporate=yes, products=yes.
 +
-- 18Feb08 Report invalid parameters: coporate/corprate/produce/etc
 +
-- 18Feb08 Linked doc subpage as "See: Template:Google_Inc./doc".
 +
-- 18Feb08 Added NOTES comments (skipped during wiki-page display).
 +
--
 +
-- [These comment lines are omitted before Internet transfer.]
 +
--
 +
--End Template:Google Inc.--></noinclude>

Revision as of 13:25, 18 February 2008

See: Template:Google_Inc./doc.