Templates: Difference between revisions

    From Consumerium development wiki R&D Wiki
    (→‎Template use in Wikipedia: Using the SPARQL queries on DBpedia's datasets on Wikipedia infoboxes enabled by the LinkedWiki extension so we will start collecting a list of Infoboxes to get datasetsfor)
    (→‎2012 situation mapping: listing the contents of Infobox company and Infobox brand .. Infobox product doesn't seem to be much used)
    Line 17: Line 17:
    Using the SPARQL queries on [[DBpedia]]'s datasets on [[Wikipedia]] infoboxes enabled by the [[MediaWiki/Extensions#LinkedWiki|LinkedWiki extension]] so we will start collecting a list of Infoboxes to get datasets for.
    Using the SPARQL queries on [[DBpedia]]'s datasets on [[Wikipedia]] infoboxes enabled by the [[MediaWiki/Extensions#LinkedWiki|LinkedWiki extension]] so we will start collecting a list of Infoboxes to get datasets for.
    #) [[w:Template:Infobox brand]]
    #) [[w:Template:Infobox brand]]
    <pre>
    {{infobox brand
    | logo          =
    | name          =
    | image          =
    | type          =
    | currentowner  =
    | origin        =
    | introduced    =
    | discontinued  =
    | related        =
    | markets        =
    | previousowners =
    | trademarkregistrations =
    | ambassador    =
    | tagline        =
    | website        =
    }}
    </pre>
    #) [[w:Template:Infobox company]]
    #) [[w:Template:Infobox company]]


    <pre>
    {{Infobox company
    | name            =
    | logo            =
    | caption          =
    | type            =
    | traded_as        =
    | genre            = <!-- Only used with media and publishing companies -->
    | fate            =
    | predecessor      =
    | successor        =
    | foundation      = <!-- {{Start date|YYYY|MM|DD}} -->
    | founder          =
    | defunct          = <!-- {{End date|YYYY|MM|DD}} -->
    | location_city    =
    | location_country =
    | locations        =
    | area_served      =
    | key_people      =
    | industry        =
    | products        =
    | services        =
    | revenue          =
    | operating_income =
    | net_income      =
    | aum              = <!-- Only used with financial services companies -->
    | assets          =
    | equity          =
    | owner            =
    | num_employees    =
    | parent          =
    | divisions        =
    | subsid          =
    | homepage        = <!-- {{URL|examplesite.com|ExampleSite.com}} -->
    | footnotes        =
    | intl     
    </pre>


    The template system in [[MediaWiki]] has evolved to a very powerful (and complicated in some cases) system for avoiding redundant manual work, and enabling consistent structure for articles that deal with a certain, shared area of knowledge.
    The template system in [[MediaWiki]] has evolved to a very powerful (and complicated in some cases) system for avoiding redundant manual work, and enabling consistent structure for articles that deal with a certain, shared area of knowledge.

    Revision as of 12:16, 28 June 2012

    This article is about templates in MediaWiki Wiki software and their application to reaching consumerium goals.

    Templates in development wiki

    There are a few templates in use in this wiki. A complete list is here with the only useful (and ones used) being:

    • Template:Deprecated - used to mark pages that are no longer relevant or coherent with current plans due to evolution of the implementation plan
    • Template:Fromwp - used to give credit when an article is adapted from Wikipedia
    • Template:Stub - a stadard stub message
    • Template:TFD - Tagged For Deletion - If someone want's to conserve contents from a page that has been tagged like this they either move all useful information to another article or improve the article so that it makes sense in the larger scheme of things.

    Information on using templates on Meta

    Template use in Wikipedia

    2012 situation mapping

    Using the SPARQL queries on DBpedia's datasets on Wikipedia infoboxes enabled by the LinkedWiki extension so we will start collecting a list of Infoboxes to get datasets for.

    1. ) w:Template:Infobox brand
    {{infobox brand
    | logo           = 
    | name           = 
    | image          = 
    | type           = 
    | currentowner   = 
    | origin         = 
    | introduced     = 
    | discontinued   = 
    | related        = 
    | markets        = 
    | previousowners = 
    | trademarkregistrations = 
    | ambassador     = 
    | tagline        =
    | website        = 
    }}
    
    1. ) w:Template:Infobox company
    {{Infobox company
    | name             = 
    | logo             = 
    | caption          = 
    | type             = 
    | traded_as        = 
    | genre            = <!-- Only used with media and publishing companies -->
    | fate             = 
    | predecessor      = 
    | successor        = 
    | foundation       = <!-- {{Start date|YYYY|MM|DD}} -->
    | founder          = 
    | defunct          = <!-- {{End date|YYYY|MM|DD}} -->
    | location_city    = 
    | location_country = 
    | locations        = 
    | area_served      = 
    | key_people       = 
    | industry         = 
    | products         = 
    | services         = 
    | revenue          = 
    | operating_income = 
    | net_income       = 
    | aum              = <!-- Only used with financial services companies -->
    | assets           = 
    | equity           = 
    | owner            = 
    | num_employees    = 
    | parent           = 
    | divisions        = 
    | subsid           = 
    | homepage         = <!-- {{URL|examplesite.com|ExampleSite.com}} -->
    | footnotes        = 
    | intl      
    

    The template system in MediaWiki has evolved to a very powerful (and complicated in some cases) system for avoiding redundant manual work, and enabling consistent structure for articles that deal with a certain, shared area of knowledge.


    w:Wikipedia:Template_messages lists (most) of the templates used in Wikipedia in a user friendly way. All templates used in Wikipedia can be found here (an automatically generated alphabetically ordered list)

    Some of Wikipedia's templates (such as those dealing with calendars and such) are directly applicable to the implementation wiki

    Surfing around Wikipedia one encounters many complex templates that may include nested templates and parameters.

    Template use in Wiktionary

    Template use in Implementation wiki

    Here we should compile a list of templates that will be useful in the implementation stage when we begin to assemble information about companies and products.

    Templates to be copied from Wikipedia

    Templates to be created specifically for use in implementation wiki

    Templates to be copied from other sources