Anonymous
×
Create a new article
Write your page title here:
We currently have 686 articles on RLSH Wiki. Type your article name above or create one of the articles listed here!



    Template:InfoboxTeam/doc: Difference between revisions

    m (1 revision imported: Import from Wikia page)
     
    No edit summary
    Line 4: Line 4:
    :Type <code>{{t|InfoboxTeam|...}}</code> somewhere, with parameters as shown below.
    :Type <code>{{t|InfoboxTeam|...}}</code> somewhere, with parameters as shown below.
    ;Sample output
    ;Sample output
    <pre>{| class="infobox" style="font-size:89%; width:300px;"
    <pre>{{Template:InfoboxTeam
    |-
    |name        = Name of group
    ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
    |Group        = Name of group
    |- style="text-align:center;"
    |Members      =  
    | colspan="2" style="padding:0.5em;" | [[{{{image|Image:Wiki.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
    |image       = file:Teamlogo.jpg
    |-
    |caption     = caption for logo
    ! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Team Statistics
    |status      = Active/Inactive
    |-
    |actions      = Actions the team does, patrols, outreach, etc
    | style="width:30%;" | '''Group'''
    |Category     = Public Service/Non-Profit/etc
    | style="width:70%;" | {{{Group}}}
    |Headquarters = [[:Category:RLSH Groups in City|City]], [[:Category:RLSH Groups in State|State]], (country)
    |-
    |Allies       =
    | '''Category'''
    |foes         =
    | {{{Category}}}
    |Leader(s)    = Names of leaders
    |-
    |}}
    | '''Headquarters'''
    | {{{Headquarters}}}
    |-
    | '''Status'''
    | {{{status}}}
    |-
    ! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Team Activity
    |-
    | '''Members'''
    | {{{Members}}}
    |-
    | '''Allies'''
    | {{{Allies}}}
    |-
    | '''Foes'''
    | {{{foes}}}
    |-
    | '''Actions'''
    | {{{actions}}}
    |}


    </pre>
    </pre>
    :Results in...
    :Results in...
    :{| class="infobox" style="font-size:89%; width:300px;"
    :{{Template:InfoboxTeam
    |-
    |name        = Name of group
    ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
    |Group        = Name of group
    |- style="text-align:center;"
    |Members      =  
    | colspan="2" style="padding:0.5em;" | [[{{{image|Image:Wiki.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
    |image       = file:Teamlogo.jpg
    |-
    |caption     = caption for logo
    ! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Team Statistics
    |status      = Active/Inactive
    |-
    |actions      = Actions the team does, patrols, outreach, etc
    | style="width:30%;" | '''Group'''
    |Category     = Public Service/Non-Profit/etc
    | style="width:70%;" | {{{Group}}}
    |Headquarters = [[:Category:RLSH Groups in City|City]], [[:Category:RLSH Groups in State|State]], (country)
    |-
    |Allies       =
    | '''Category'''
    |foes         =
    | {{{Category}}}
    |Leader(s)    = Names of leaders
    |-
    |}}
    | '''Headquarters'''
     
    | {{{Headquarters}}}
    |-
    | '''Status'''
    | {{{status}}}
    |-
    ! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Team Activity
    |-
    | '''Members'''
    | {{{Members}}}
    |-
    | '''Allies'''
    | {{{Allies}}}
    |-
    | '''Foes'''
    | {{{foes}}}
    |-
    | '''Actions'''
    | {{{actions}}}
    |}


    <includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly>
    <includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly>
    <noinclude>[[Category:Template documentation|{{PAGENAME}}]]
    <noinclude>[[Category:Template documentation|{{PAGENAME}}]]
    [[Category:RLSH Templates Documentation]]</noinclude>
    [[Category:RLSH Templates Documentation]]</noinclude>

    Revision as of 21:29, 30 December 2019

    Description
    This template is used to create an infobox for RLSH groups/teams. The sample example will include the possible ranges of values to input.
    Syntax
    Type {{InfoboxTeam|<...>}} somewhere, with parameters as shown below.
    Sample output
    {{Template:InfoboxTeam
    |name         = Name of group
    |Group        = Name of group
    |Members      = 
    |image        = file:Teamlogo.jpg
    |caption      = caption for logo
    |status       = Active/Inactive
    |actions      = Actions the team does, patrols, outreach, etc
    |Category     = Public Service/Non-Profit/etc
    |Headquarters = [[:Category:RLSH Groups in City|City]], [[:Category:RLSH Groups in State|State]], (country)
    |Allies       = 
    |foes         = 
    |Leader(s)    = Names of leaders
    |}}
    
    
    Results in...
    Name of group
    file:Teamlogo.jpg
    caption for logo
    Team Statistics
    Group Name of group
    Category Public Service/Non-Profit/etc
    Headquarters [[Location::City, State, (country)]] 39° 12' 50.01" N, 79° 38' 13.60" W
    Status Active/Inactive
    Team Activity
    Leader
    Members
    Allies
    Foes
    Actions Actions the team does, patrols, outreach, etc