User:52 Pickup/Drafts/SFRY

From Wikipedia, the free encyclopedia

 The infoboxes shown here are attempts to overcome the layout problem for when too many entities are involved. The date is kept at the top (that should be maintained, regardless), but some flags have been moved to the bottom.

Since there is only one preceding state, that flag can go to the top without any trouble. It is also listed at the bottom for completeness. See the footnotes of each infobox for details about each design.

The templates used here are rough drafts and should be used for test purposes only.



{{Infobox Former Country
|_noautocat = yes
|native_name      = Attempt A - standard template<br/>
|conventional_long_name = Socialist Federal Republic of Yugoslavia
|common_name      = Socialist Federal Republic of Yugoslavia
|continent        = Europe
|region           = Serbia, Montenegro, Macedonia, Croatia, Slovenia, Bosnia and Herzegovina
|country          = Serbia, Montenegro, Macedonia, Croatia, Slovenia, Bosnia and Herzegovina
|era              = Cold War
|year_start       = 1943
|year_end         = 1992
|date_start       = November 29
|date_end         = April 28
|event_start      = 
|event_end        = formation of [[Federal Republic of Yugoslavia|FRY]]
|independence     =
|p1               = Kingdom of Yugoslavia
|pn1              = [[Image:Flag of the Kingdom of Yugoslavia (state).svg|22x20px]] [[Kingdom of Yugoslavia]]
|flag_p1          = Flag of the Kingdom of Yugoslavia (state).svg
|sn1              = {{flagcountry|Slovenia}}
|flag_s1          = Flag of Slovenia.svg
|sn2              = {{flagcountry|Croatia}}
|flag_s2          = Flag of Croatia.svg
|sn3              = {{flagcountry|Republic of Macedonia}}
|flag_s3          = Flag of Macedonia 1991-95.svg
|sn4              = {{flagcountry|Bosnia and Herzegovina}}
|flag_s4          = Flag of Bosnia and Herzegovina (1992-1998).svg
|sn5              = [[Image:Flag of Serbia and Montenegro.svg|22x20px]] [[Federal Republic of Yugoslavia|FR Yugoslavia]]
|flag_s5          = Flag of Serbia and Montenegro.svg
|image_flag       = Flag of SFR Yugoslavia.svg
|image_coat       = SFRY coa.png
|image_map        = LocationYugoslavia.png
|common_languages = [[Serbo-Croatian]]<br/>[[Macedonian language|Macedonian]]<br/>[[Slovenian language|Slovenian]]
|capital          = Belgrade
|government_type  = Socialist state
|title_leader     = Last [[List of leaders of communist Yugoslavia|President]]
|leader1          = Stjepan Mesić
|title_deputy     = Last [[List of leaders of communist Yugoslavia|Prime Minister]]
|deputy1          = Ante Marković
|event1           = [[United Nations member states|UN membership]]
|date_event1      = [[October 24]] [[1945]]
|event2           = Constitution
|date_event2      = [[21 February]] [[1974]]
|stat_area1       = 255800
|stat_pop1        = 23724919
|stat_year1       = July 1989
|currency         = Yugoslav dinar
|utc_offset       = +1
|calling_code     = 38
|footnotes        = This version experiments with the {{tl|flagcountry}} template in the sn/pn field.<br/>Using this template would be nice if optional flags could be entered, but you need to know the right code (if it is available) to get the flag you want. For example, the flags for Bosnia & Herzegovina and Macedonia are later versions and the flags for the Kingdom and FR of Yugoslavia had to be entered manually. <br/>The layout is also a bit messy.
}}


{{User:52 Pickup/Drafts/Template:Infobox Former CountryTABLES
|native_name      = Attempt B - [[User:52 Pickup/Drafts/Template:Infobox Former CountryTABLES|template]]<br/>
|conventional_long_name = Socialist Federal Republic of Yugoslavia
|common_name      = Socialist Federal Republic of Yugoslavia
|continent        = Europe
|region           = Serbia, Montenegro, Macedonia, Croatia, Slovenia, Bosnia and Herzegovina
|country          = Serbia, Montenegro, Macedonia, Croatia, Slovenia, Bosnia and Herzegovina
|era              = Cold War
|year_start       = 1943
|year_end         = 1992
|date_start       = November 29
|date_end         = April 28
|event_start      = 
|event_end        = formation of [[Federal Republic of Yugoslavia|FRY]]
|independence     =
|p1               = Kingdom of Yugoslavia
|flag_p1          = Flag of the Kingdom of Yugoslavia (state).svg
|pn1              = Kingdom of Yugoslavia
|flag_pn1          = Flag of the Kingdom of Yugoslavia (state).svg
|sn1              = Slovenia
|flag_sn1          = Flag of Slovenia.svg
|sn2              = Croatia
|flag_sn2          = Flag of Croatia.svg
|sn3              = Republic of Macedonia
|flag_sn3          = Flag of Macedonia 1991-95.svg
|sn4              = Bosnia and Herzegovina
|flag_sn4          = Flag of Bosnia and Herzegovina (1992-1998).svg
|sn5              = [[Federal Republic of Yugoslavia|FR Yugoslavia]]
|flag_sn5          = Flag of Serbia and Montenegro.svg 
|image_flag       = Flag of SFR Yugoslavia.svg
|image_coat       = SFRY coa.png
|image_map        = LocationYugoslavia.png
|common_languages = [[Serbo-Croatian]]<br/>[[Macedonian language|Macedonian]]<br/>[[Slovenian language|Slovenian]]
|capital          = Belgrade
|government_type  = Socialist state
|title_leader     = Last [[List of leaders of communist Yugoslavia|President]]
|leader1          = Stjepan Mesić
|title_deputy     = Last [[List of leaders of communist Yugoslavia|Prime Minister]]
|deputy1          = Ante Marković
|event1           = [[United Nations member states|UN membership]]
|date_event1      = [[October 24]] [[1945]]
|event2           = Constitution
|date_event2      = [[21 February]] [[1974]]
|stat_area1       = 255800
|stat_pop1        = 23724919
|stat_year1       = July 1989
|currency         = Yugoslav dinar
|utc_offset       = +1
|calling_code     = 38
|footnotes        = For the flags at the bottom, this version of the infobox asks for separate entries for flag and country, just like up the top. If the flag is not given, the area is left blank (i.e. no "Sin bandera.svg". A tabular form is used to neaten the layout. If no flags are used at all in either column, the area for text expands and so no gap is left over.
}}



{{User:52 Pickup/Drafts/Template:Infobox Former CountryTABLES2
|native_name      = Attempt C - [[User:52 Pickup/Drafts/Template:Infobox Former CountryTABLES2|template]]<br/>
|conventional_long_name = Socialist Federal Republic of Yugoslavia
|common_name      = Socialist Federal Republic of Yugoslavia
|continent        = Europe
|region           = Serbia, Montenegro, Macedonia, Croatia, Slovenia, Bosnia and Herzegovina
|country          = Serbia, Montenegro, Macedonia, Croatia, Slovenia, Bosnia and Herzegovina
|era              = Cold War
|year_start       = 1943
|year_end         = 1992
|date_start       = November 29
|date_end         = April 28
|event_start      = 
|event_end        = formation of [[Federal Republic of Yugoslavia|FRY]]
|independence     =
|p1               = Kingdom of Yugoslavia
|flag_p1          = Flag of the Kingdom of Yugoslavia (state).svg
|pn1              = Kingdom of Yugoslavia
|flag_pn1          = Flag of the Kingdom of Yugoslavia (state).svg
|sn1              = Slovenia
|flag_sn1          = Flag of Slovenia.svg
|sn2              = Croatia
|flag_sn2          = Flag of Croatia.svg
|sn3              = Republic of Macedonia
|flag_sn3          = Flag of Macedonia 1991-95.svg
|sn4              = Bosnia and Herzegovina
|flag_sn4          = Flag of Bosnia and Herzegovina (1992-1998).svg
|sn5              = [[Federal Republic of Yugoslavia|FR Yugoslavia]]
|flag_sn5          = Flag of Serbia and Montenegro.svg 
|image_flag       = Flag of SFR Yugoslavia.svg
|image_coat       = SFRY coa.png
|image_map        = LocationYugoslavia.png
|common_languages = [[Serbo-Croatian]]<br/>[[Macedonian language|Macedonian]]<br/>[[Slovenian language|Slovenian]]
|capital          = Belgrade
|government_type  = Socialist state
|title_leader     = Last [[List of leaders of communist Yugoslavia|President]]
|leader1          = Stjepan Mesić
|title_deputy     = Last [[List of leaders of communist Yugoslavia|Prime Minister]]
|deputy1          = Ante Marković
|event1           = [[United Nations member states|UN membership]]
|date_event1      = [[October 24]] [[1945]]
|event2           = Constitution
|date_event2      = [[21 February]] [[1974]]
|stat_area1       = 255800
|stat_pop1        = 23724919
|stat_year1       = July 1989
|currency         = Yugoslav dinar
|utc_offset       = +1
|calling_code     = 38
|footnotes        = Same as attempt B, only the flags for the successive states are shifted to the right, and the text alignment for successive states has also been shifted to the right.
}}




{{User:52 Pickup/Drafts/Template:Infobox Former CountryX
|native_name      = Attempt D - [[User:52 Pickup/Drafts/Template:Infobox Former CountryX|template]]<br/>
|conventional_long_name = Socialist Federal Republic of Yugoslavia
|common_name      = Socialist Federal Republic of Yugoslavia
|continent        = Europe
|region           = Serbia, Montenegro, Macedonia, Croatia, Slovenia, Bosnia and Herzegovina
|country          = Serbia, Montenegro, Macedonia, Croatia, Slovenia, Bosnia and Herzegovina
|era              = Cold War
|year_start       = 1943
|year_end         = 1992
|date_start       = November 29
|date_end         = April 28
|event_start      = 
|event_end        = formation of [[Federal Republic of Yugoslavia|FRY]]
|p1               = Kingdom of Yugoslavia
|flag_p1          = Flag of the Kingdom of Yugoslavia (state).svg
|s1              = Slovenia
|flag_s1          = Flag of Slovenia.svg
|s2              = Croatia
|flag_s2          = Flag of Croatia.svg
|s3              = Republic of Macedonia
|flag_s3          = Flag of Macedonia 1991-95.svg
|s4              = Bosnia and Herzegovina
|flag_s4          = Flag of Bosnia and Herzegovina (1992-1998).svg
|s5              = [[Federal Republic of Yugoslavia|FR Yugoslavia]]
|flag_s5          = Flag of Serbia and Montenegro.svg 
|image_flag       = Flag of SFR Yugoslavia.svg
|image_coat       = SFRY coa.png
|image_map        = LocationYugoslavia.png
|common_languages = [[Serbo-Croatian]]<br/>[[Macedonian language|Macedonian]]<br/>[[Slovenian language|Slovenian]]
|capital          = Belgrade
|government_type  = Socialist state
|title_leader     = Last [[List of leaders of communist Yugoslavia|President]]
|leader1          = Stjepan Mesić
|title_deputy     = Last [[List of leaders of communist Yugoslavia|Prime Minister]]
|deputy1          = Ante Marković
|event1           = [[United Nations member states|UN membership]]
|date_event1      = [[October 24]] [[1945]]
|event2           = Constitution
|date_event2      = [[21 February]] [[1974]]
|stat_area1       = 255800
|stat_pop1        = 23724919
|stat_year1       = July 1989
|currency         = Yugoslav dinar
|utc_offset       = +1
|calling_code     = 38
|footnotes        = Based on version C, the need for separate sn/pn variables has now been removed. <br>If only p(1-3)/s(1-3) are used, the flags will display at the top as normal. If p4 or s4 are used, the bottom section is automatically created. <br>If one side has less than 4 entries, that side will also be displayed at the top as before. For the side that has more than 3 entries, a down-arrow is put in place, linking to the bottom section.<br>Still not sure about the text alignment within this bottom section.
}}