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)
     
    (Edited so documentation is more clear)
     
    (4 intermediate revisions by the same user not shown)
    Line 1: Line 1:
    ;Description
    ;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.  
    :This template is used to create an infobox for RLSH groups/teams. The sample example will include the possible ranges of values to input.
    ;<big>'''Do not use this to create a new page. Use the [[Form:Team]] instead.'''</big>
    ;Syntax
    ;Syntax
    :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>{{InfoboxTeam
    |-
    |name        = Name of group top - This is filled in automatically by the "New Team Page" form, so not used
    ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
    |Group        = Name of group - This is filled in automatically by the "New Team Page" form, so not used
    |- style="text-align:center;"
    |Members      = List members here
    | 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 = City, State, (country) - This is typed plainly so that the wiki processes the date for the Team Map
    |-
    |Allies       = Groups allied with this group
    | '''Category'''
    |foes         = Who this group is against
    | {{{Category}}}
    |Leader      = 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;"
    :{{InfoboxTeam
    |-
    |Members      = List members here
    ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
    |image        = file:Teamlogo.jpg
    |- style="text-align:center;"
    |caption     = caption for logo
    | colspan="2" style="padding:0.5em;" | [[{{{image|Image:Wiki.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
    |status      = Unknown
    |-
    |actions      = Actions the team does, patrols, outreach, etc
    ! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Team Statistics
    |Category     = Public Service/Non-Profit/etc
    |-
    |Headquarters = City, State, (country)
    | style="width:30%;" | '''Group'''
    |Allies       = Groups allied with this group
    | style="width:70%;" | {{{Group}}}
    |foes         = Who this group is aganst
    |-
    |Leader      = Names of leaders
    | '''Category'''
    }}
    | {{{Category}}}
     
    |-
    | '''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>

    Latest revision as of 19:54, 19 October 2020

    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.
    Do not use this to create a new page. Use the Form:Team instead.
    Syntax
    Type {{InfoboxTeam|<...>}} somewhere, with parameters as shown below.
    Sample output
    {{InfoboxTeam
    |name         = Name of group top - This is filled in automatically by the "New Team Page" form, so not used
    |Group        = Name of group - This is filled in automatically by the "New Team Page" form, so not used
    |Members      = List members here
    |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 = City, State, (country) - This is typed plainly so that the wiki processes the date for the Team Map
    |Allies       = Groups allied with this group
    |foes         = Who this group is against
    |Leader       = Names of leaders
    }}
    
    
    Results in...
    InfoboxTeam/doc
    file:Teamlogo.jpg
    caption for logo
    Team Statistics
    Group InfoboxTeam/doc
    Category Public Service/Non-Profit/etc
    Headquarters City, State, (country) 39° 12' 50.01" N, 79° 38' 13.60" W
    Status Unknown
    Team Activity
    Leader Names of leaders
    Members List members here
    Allies Groups allied with this group
    Foes Who this group is aganst
    Actions Actions the team does, patrols, outreach, etc