Difference between revisions of "Template:Google LLC/doc"
Jump to navigation
Jump to search
imported>Psantora (cleanup, note change in default) |
imported>Psantora (test) |
||
| Line 20: | Line 20: | ||
|- | |- | ||
| <!--ident box to separate from left-side text. --> | | <!--ident box to separate from left-side text. --> | ||
| − | | {{Google Inc.|corporate=no|products=no}} | + | | {{navbox<!-- |
| + | -- Template:Google Inc. - Navigation box/page for Google articles | ||
| + | -- | ||
| + | -- This code handles parameters: corporate=yes or products=yes, | ||
| + | -- rejecting likely invalid spellings. The standalone navpage | ||
| + | -- mode shows extra links beyond navbox mode (see NOTES below). | ||
| + | --> | ||
| + | | name = Google Inc. | ||
| + | | title = <!--See NOTE T2-- | ||
| + | --> <!-- | ||
| + | -->[[Google|Google Inc.]] <small><!-- | ||
| + | -->[[Template:Google Inc.|[full navpage] ]]</small> | ||
| + | |||
| + | | above = {{ <!--See NOTE C2--> | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --> {{nowrap begin}}'''Chairman/CEO''': [[Eric E. Schmidt]]{{·w}} '''Director/Technology President/Co-Founder''': [[Sergey Brin]]{{·w}} '''Director/Products President/Co-Founder''': [[Larry Page]]<br>'''CFO''': [[Patrick Pichette]]{{·w}} '''Other Directors''': [[John Doerr]]{{·w}} [[John L. Hennessy]]{{·w}} [[Arthur D. Levinson]]{{·w}} [[Ann Mather]]{{·w}} [[Paul Otellini]]{{·w}} [[Ram Shriram]]{{·w}} [[Shirley M. Tilghman]]{{·w}} '''Senior Advisor''': [[Al Gore]]{{nowrap end}} | ||
| + | }}<!--endif corporate--> | ||
| + | |||
| + | | group1 = {{ | ||
| + | #ifeq:no|no||<!--else-put-->Advertising | ||
| + | }}<!--endif corporate--> | ||
| + | | list1 = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --list1--> [[Adscape]]{{·}} [[AdSense]]{{·}} [[Google Advertising Professional|Advertising Professionals]]{{·}} [[AdWords]]{{·}} [[Google Analytics|Analytics]]{{·}} [[Google Checkout|Checkout]]{{·}} [[AdWords#Click-to-Call|Click-to-Call]]{{·}} [[DoubleClick]]{{·}} [[Google Insights for Search|Insights for Search]]{{·}} [[Google Trends|Trends]] | ||
| + | }}<!--endif corporate--> | ||
| + | |||
| + | | group2 = {{ | ||
| + | #ifeq:no|no||<!--else-put-->Communication | ||
| + | }}<!--endif products--> <!--See NOTE P2--> | ||
| + | | list2 = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --list2--> [[Google Answers|Answers]]{{·}} [[Google Calendar|Calendar]]{{·}} [[Dodgeball (service)|Dodgeball]]{{·}} [[Google Friend Connect|Friend Connect]]{{·}} [[Gmail]]<small> ([[History of Gmail|history]]{{·}} [[Gmail interface|interface]])</small>{{·}} [[GrandCentral]]{{·}} [[Google Groups|Groups]]{{·}} [[Google Talk|Gtalk]]{{·}} [[Joga Bonito]]{{·}} [[Orkut]]{{·}} [[Panoramio]]{{·}} [[Picasa#Picasa Web Albums|Picasa Web Albums]]{{·}} [[Google Questions and Answers|Q & A]]{{·}} [[Google Reader|Reader]]{{·}} [[Google Translate|Translate]] | ||
| + | }}<!--endif products--> | ||
| + | |||
| + | | group3 = {{ | ||
| + | #ifeq:no|no||<!--else-put-->Software | ||
| + | }}<!--endif products--> | ||
| + | | list3 = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --list3--> [[Google Browser Sync|Browser Sync]]{{·}} [[Google Chrome|Chrome]]{{·}} [[Google Desktop|Desktop]]{{·}} [[Google Earth|Earth]]{{·}} [[Google Desktop#Gadgets & plug-ins|Gadgets]]{{·}} [[Google Lively|Lively]]{{·}} [[Gmail Mobile]]{{·}} [[Google Pack|Pack]]{{·}} [[Picasa]]{{·}} [[SketchUp]]{{·}} [[Google Talk|Talk]]{{·}} [[Google Toolbar|Toolbar]]{{·}} [[Google Pack#Google Updater|Updater]]{{·}} [[Google Web Accelerator|Web Accelerator]] | ||
| + | }}<!--endif products--> | ||
| + | |||
| + | | group4 = {{ | ||
| + | #ifeq:no|no||<!--else-put | ||
| + | -->[[Google platform|Platforms]] | ||
| + | }}<!--endif products--> | ||
| + | | list4 = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --list4--> [[Google Account|Account]]{{·}} [[Android (mobile device platform)|Android]]{{·}} [[Google App Engine|App Engine]]{{·}} [[Google Apps|Apps]]{{·}} [[Google Base|Base]]{{·}} [[BigTable]]{{·}} [[Google Co-op|Co-op]]{{·}} [[Gears (software)|Gears]]{{·}} [[Google File System|GFS]]{{·}} [[Google Health|Health]]{{·}} [[Google Mashup Editor|Mashup]]{{·}} [[OpenSocial]] | ||
| + | }}<!--endif products--> | ||
| + | |||
| + | | group5 = {{ | ||
| + | #ifeq:no|no||<!--else-put | ||
| + | -->Development tools | ||
| + | }}<!--endif products--> | ||
| + | | list5 = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --list5--> [[Google Code|Code]]{{·}} [[Google Gadgets API|Gadgets API]]{{·}} [[GData]]{{·}} [[Googlebot]]{{·}} [[Google Guice|Guice]]{{·}} [[Google Web Server|GWS]]{{·}} [[Google I/O|I/O]]{{·}} [[Google Image Labeler|Image Labeler]]{{·}} [[Keyhole Markup Language|KML]]{{·}} [[MapReduce]]{{·}} [[Google Pinyin|Pinyin]]{{·}} [[SketchUp Ruby]]{{·}} [[Sitemaps]]{{·}} [[Google Summer of Code|Summer of Code]]{{·}} [[Google TechTalks|TechTalks]]{{·}} [[Google Web Toolkit|Web Toolkit]]{{·}} [[Google Website Optimizer|Website Optimizer]] | ||
| + | }}<!--endif products--> | ||
| + | |||
| + | | group6 = {{ | ||
| + | #ifeq:no|no||<!--else-put-->Publishing | ||
| + | }}<!--endif products--> | ||
| + | | list6 = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --list6--> [[Google Alerts|Alerts]]{{·}} [[Blogger (service)|Blogger]]{{·}} [[Google Bookmarks|Bookmarks]]{{·}} [[Google Docs|Docs]]{{·}} [[FeedBurner]]{{·}} [[iGoogle]]{{·}} [[Jaiku]]{{·}} [[Knol]]{{·}} [[Google Books Library Project|Library Project]]{{·}} [[Google Map Maker|Map Maker]]{{·}} [[Google Mashup Editor|Mashup Editor]]{{·}} [[Google Notebook|Notebook]]{{·}} [[Google Page Creator|Page Creator]]{{·}} [[Google Sites|Sites (JotSpot)]]{{·}} [[Google Video Marketplace|Video Marketplace]]{{·}} [[YouTube]] | ||
| + | }}<!--endif products--> | ||
| + | |||
| + | | group7 = {{ | ||
| + | #ifeq:no|no||<!--else-put | ||
| + | -->Search ([[PageRank]]) | ||
| + | }}<!--endif products--> | ||
| + | | list7 = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --list7--> [[Google Search Appliance|Appliance]]{{·}} [[Google Audio Indexing|Audio]]{{·}} [[Google Book Search|Books]]{{·}} [[Google Code Search|Code]]{{·}} [[Google Desktop|Desktop]]{{·}} [[Google Finance|Finance]]{{·}} [[GOOG-411]]{{·}} [[Google Image Search|Images]]{{·}} [[Google Maps|Maps]]<small> ([[Google Mars|Mars]]{{·}} [[Google Moon|Moon]]{{·}} [[Google Ocean|Ocean]]{{·}} [[Google Sky|Sky]]{{·}} [[Google Street View|Street View]])</small>{{·}} [[Google News|News]]{{·}} [[Google Patents|Patents]]{{·}} [[Google Product Search|Products]]{{·}} [[Google Scholar|Scholar]]{{·}} [[Google SearchWiki|SearchWiki]]{{·}} [[Google Groups|Usenet]]{{·}} [[Google Video|Video]]{{·}} [[Google search|Web]] | ||
| + | }}<!--endif products--> | ||
| + | |||
| + | | group8 = {{ | ||
| + | #ifeq:no|no||<!--else-put | ||
| + | -->[[:Category:Google|See also]] | ||
| + | }}<!--endif corporate--> <!--See NOTE C2--> | ||
| + | | list8 = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --list8--> [[List of acquisitions by Google|Acquisitions]]{{·}} [[Google bomb|Bomb]]{{·}} [[Censorship by Google|Censorship]]{{·}} [[Criticism of Google|Criticism]]{{·}} [[Google.org#Google Foundation|Foundation]]{{·}} [[Google China]]{{·}} [[Google.org]]{{·}} [[Googleplex]]{{·}} [[History of Google|History]]{{·}} [[Google's hoaxes|Hoaxes]]{{·}} [[Google search#"I'm Feeling Lucky"|I'm Feeling Lucky]]{{·}} [[Google Labs|Labs]]{{·}} [[Google logo|Logo]]{{·}} [[Google Lunar X Prize|Lunar X Prize]]{{·}} [[List of Google products|Products]]{{·}} [[Google WiFi|WiFi]]{{·}} [[Google Zeitgeist|Zeitgeist]] | ||
| + | }}<!--endif corporate--> | ||
| + | |||
| + | | below = {{ | ||
| + | #ifeq:no|no|<!--skip-->|<!--else-put | ||
| + | --below--> {{nowrap begin}}'''Annual Revenue''': [[United States dollar|US$]]16.59 billion ({{profit}}56% [[fiscal year|FY]] 2007){{·w}} '''[[:Category:Google employees|Employees]]''': 20,123 full-time (September 30, 2008){{·w}} '''Stock Symbol''': ({{nasdaq2|GOOG}}, {{lse2|GGEA}}){{·w}} '''Motto''': [[Don't be evil]]{{·w}} '''Website''': [http://www.google.com/ www.google.com]{{nowrap end}} | ||
| + | }}<!--endif corporate--> | ||
| + | }}<!--end Navbox--><!-- | ||
| + | -======================================== Check Invalid parameters | ||
| + | -- checks spellings: Corporate/coporate/corprate/corperate | ||
| + | -- checks spellings: Products/product/produce/produces/porducts/prod | ||
| + | -- | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "'''C'''orporate", try corporate=no (lowercase).}}<!--endifeq | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "'''co'''porate", try corporate=no.}}<!--endifeq | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "cor'''pr'''ate", try corporate=no.}}<!--endifeq | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "corp'''er'''ate", try corporate=no.}}<!--endifeq | ||
| + | -- | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "''P''roducts", try products=no (lowercase)}}<!--endifeq | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "produc'''t'''" singular; try products=no (plural).}}<!--endifeq | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "produc'''e'''", try products=no (plural).}}<!--endifeq | ||
| + | -- | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "produc'''es'''", try products=no (plural).}}<!--endifeq | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "p'''or'''ducts", try products=no.}}<!--endifeq | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "prod", try products=no (full-word).}}<!--endifeq | ||
| + | -- | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "all", try coporate=yes or products=yes.}}<!--endifeq | ||
| + | -->{{#ifeq:xnone|xnone|<!--then-ignore-->|<!-- | ||
| + | --else report error--><br>In [[Template:Googe Inc.]] - Invalid parameter "none", try coporate=no or products=no.}}<!--endifeq | ||
| + | -- | ||
| + | --> | ||
|} | |} | ||
Any sections of links which are not displayed in the navbox are not wikilinked into the article which invokes the template. | Any sections of links which are not displayed in the navbox are not wikilinked into the article which invokes the template. | ||
Revision as of 09:42, 4 December 2008
| This is a documentation subpage for Template:Google LLC. It contains usage information, categories and other content that is not part of the original template page. |
The Template:Google Inc. displays a navigation-box (navbox) linking articles related to the company Google, Inc., along with its products, services or personnel.
Usage
{{Google Inc.}}
{{Google Inc.|corporate=no|products=no}}
The optional parameters can be set to "yes" or "no" to control which sections of the total navbox are displayed.
Parameters
The template parameters are as follows:
corporate=no- [default: yes] Suppresses the display of the top section for CEO/Directors, the group/list for Advertising, and the bottom sections for See-also and Revenue/Employees, Stock, etc.products=no- [default: yes] Suppresses the display of the various group/list sections for Google products.
If both settings are "no" then the navbox will appear as just a thin, one-line box linking to article "Google, Inc." and "full navpage" as a standalone navigation-page, which then provides right-click to open any article listed on that page (see one-line navbox below).
Any sections of links which are not displayed in the navbox are not wikilinked into the article which invokes the template.