Template:Infotable/Country: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
==== Usage ====  
==== Usage ====  
<pre>
<pre>
{{Infotable/Country|table|color1=darkred|color2=blue|color3=orange}}
{{Infotable/Country|table|color1=orange|color2=red|color3=lightblue|country=pagename}}


{{Infotable/Country|00| [[Team with link]] | [[user:name linked |name linked ]]  
{{Infotable/Country|00| [[Team with link]] | [[user:name linked|name linked]]  
                       | Team no link      | name no link}}
                       | Team no link      | name no link}}


{{Infobox/end}}</pre>
{{Infobox/end}}</pre>
==== Result ====
==== Result ====
{{Infotable/Country|table|color1=darkred|color2=blue|color3=orange}}
{{Infotable/Country|table|color1=orange|color2=red|color3=lightblue|logo=[[File:HTInternational.png|44px]]}}
{{Infotable/Country|00|[[Team with link]]|[[user:A|A]]|Team no link|name B}}
{{Infotable/Country|00| [[Team with link]] | [[user:name linked|name linked]] | Team no link | name no link}}
{{Infobox/end}}
{{Infobox/end}}
==== 5 inserts ====
</noinclude><!--
</noinclude><!--


Table Header
Table Header


-->{{#ifeq:{{{1|}}}|table|<table class="toccolours sortable" style="text-align:center; font-size: 92%; border:2px solid {{{color1}}}"><tr><th rowspan="2" width=50 valign=bottom>{{#if:{{{country|}}}|[[File:Coat of Arms of {{{country}}}.png|44px]]Season|Season}}</th><th colspan="2" width=250 style="border-bottom:3px solid {{{color3}}}">Top League</th><th colspan="2" width=250 style="border-bottom:3px solid {{{color3}}}">National Cup</th></tr>  
-->{{#ifeq:{{{1|}}}|table|<table class="toccolours sortable" style="text-align:center; font-size: 92%; border:2px solid {{{color1}}}"><tr><th rowspan="2" width=50 valign=bottom>{{#if:{{{country|}}}|[[File:Coat of Arms of {{{country}}}.png|44px]]Season|{{{logo|}}} Season}}</th><th colspan="2" width=250 style="border-bottom:3px solid {{{color3}}}">Top League</th><th colspan="2" width=250 style="border-bottom:3px solid {{{color3}}}">National Cup</th></tr>  
<tr><th>Champions</th><th>Manager</th><th>Champions</th><th>Manager</th></tr>
<tr><th>Champions</th><th>Manager</th><th>Champions</th><th>Manager</th></tr>
<tr><th colspan=6 bgcolor={{{color2}}}></th></tr>|<!--
<tr><th colspan=6 bgcolor={{{color2}}}></th></tr>|<!--
Line 22: Line 25:
Table Row
Table Row


--><tr><td>{{{1}}}</td><td>{{{2}}}</td><td>{{{3}}}</td><td>{{{4}}}</td><td>{{{5}}}</td></tr>|}}
--><tr><td>{{{1}}}</td><td>{{{2}}}</td><td style="text-align:left"><small>{{{3}}}</small></td><td>{{{4}}}</td><td style="text-align:left"><small>{{{5}}}</small></td></tr>|}}
<!--
<!--
Table end
Table end

Latest revision as of 12:31, 22 January 2020

Usage

{{Infotable/Country|table|color1=orange|color2=red|color3=lightblue|country=pagename}}

{{Infotable/Country|00| [[Team with link]] | [[user:name linked|name linked]] 
                      | Team no link       | name no link}}

{{Infobox/end}}

Result

SeasonTop LeagueNational Cup
ChampionsManagerChampionsManager
00 Team with link name linked Team no link name no link


5 inserts

{{{1}}}{{{2}}}{{{3}}}{{{4}}}{{{5}}}