<?xml version='1.0' encoding='utf-8'?>
<panel>
	<layout class="stick_to_sides_attachment" alignment="all" inset="0" />
	<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

	<container>

		<layout class="arrange_vertical_attachment" alignment="fill" offset="0" gap="0" />
		<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />

		<container>
			<!-- We have a scroll bar incase we have overflow -->
			<layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true" />
			<container class="vertical_adaptive_container" inset="0" offset="0" gap="10">

				<!--top part of the panel-->
				<container id="top" default_height="-7" minimum_height="300">
					<layout class="arrange_horizontal_attachment" layout="-2,-1" offset="0" gap="10" />
					<layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

					<!--bit for the nation overview-->
					<container class="subsection_box">

						<translation id="title" translation_id="316601" type="use" value="Nation Profile[COMMENT: nation overview; box title]" />
						<layout class="arrange_horizontal_attachment" layout="-4,-3" gap="10" offset="0" />
						<layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

						<!--flag and general info-->
						<container>

							<layout class="arrange_vertical_attachment" layout="70, -1" gap="0" offset="0" />
							<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />

							<container>
								<layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true" />
								<!-- background shading image -->
								<widget class="picture" id="pict" file="interface/shadow/bar" height="171">
									<layout class="stick_to_sides_attachment" alignment="top" inset="30" />
								</widget>

								<!--flag-->
								<widget class="picture" id="flag" image_alignment="centre" scale_picture="true" keep_aspect_ratio="true">
									<record id="object_property">
										<integer id="get_property" value="flag" />
										<integer id="set_property" value="valu" />
									</record>
								</widget>
							</container>

							<!--general info-->
							<widget class="client_object_label_value_table" id="fdlv">

								<record id="object_property">
									<integer id="get_property" value="objt" />
									<integer id="set_property" value="objt" />
								</record>

								<!--this record contains any properties you want to pass on to the table-->
								<record id="table_properties">
									<flags id="mode" value="fill_rows, stripe_rows" />
									<boolean id="auto_size_rows" value="true" />
									<boolean id="fixed_size_rows" value="false" />
									<boolean id="stretch_to_fit_rows" value="false" />
									<string id="layout" value="-3,-2" />
									<list id="column_properties">
										<record indx="0" auto_size="vertical" alignment="left,centre_y" spec="text" />
										<record indx="1" spec="text" colour="selection" alignment="left,centre_y" auto_size="vertical" />
									</list>

									<!-- table isn't sortable -->
									<list id="column_display_properties">
										<record indx="0" alignment="left,centre_y" />
										<record index="1" top="4" bottom="4" />
									</list>
								</record>

								<!--this list contains the property ids you want to display in the table - if you omit it, the table will attempt to display all properties in the supplied object-->
								<list id="viewed_property_ids">
									<integer value="TCnn" />
									<integer value="Ncac" />
									<integer value="Npop" />
									<integer value="Nriv" />
									<integer value="Nlan" />
									<integer value="Naag" />
									<integer value="NnsR" />
									<integer value="NnsC" />
									<integer value="Nafy" />
									<integer value="Nfay" />
									<integer value="Nfdy" />
								</list>

							</widget>
						</container>

						<!--manager profile-->
						<container class="subsection_box">

							<translation id="title" translation_id="297314" type="use" value="Manager Profile" />
							<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

							<container id="ManP" class="client_object_viewer_xml_panel" file="bergkamp manager profile" />
							<widget id="NMnP" class="label" alignment="top,left">
								<translation id="text" translation_id="298047" type="use" value="No manager." />
							</widget>

						</container>

					</container>

					<!--next match and ranking panel-->
					<container>
						<layout class="arrange_vertical_attachment" layout="-3,-2" offset="0" gap="6" />
						<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />

						<!--next match-->
						<container class="subsection_box" id="nMat" format="date_and_days">

							<translation id="title" translation_id="247353" type="use" value="Next Match" />
							<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

							<!--upcoming fixtures-->
							<container id="UpFi">
								<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

								<widget class="team_upcoming_fixture_info_panel" id="tmip">
									<record id="object_property">
										<integer id="get_property" value="Nnfx" />
										<integer id="set_property" value="valu" />
									</record>
								</widget>

							</container>

							<!--no upcoming fixtures-->
							<widget class="label" id="NoFi" alignment="top,left">
								<translation id="text" translation_id="298048" type="use" value="No upcoming fixtures." />
							</widget>

						</container>

						<!--ranking-->
						<container class="subsection_box">

							<translation id="title" translation_id="297998" type="use" value="World Ranking[COMMENT: heading; a team's world ranking]" />
							<layout class="arrange_vertical_attachment" alignment="bottom,extend" offset="0" />
							<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />

							<!--ranking text-->
							<container>

								<layout class="arrange_horizontal_attachment" alignment="fill" offset="0" />
								<layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

								<!--world-->
								<container>

									<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

									<widget class="fifa_ranking_label" alignment="centre" size="25" id="wnum" font="fonts/fifa_ranking_label">
										<record id="object_property">
											<integer id="get_property" value="Nffr" />
										</record>
									</widget>

								</container>

							</container>

							<!--buttons-->
							<container>
								<layout class="fit_children_attachment" alignment="vertical" offset="0" />
								<layout class="arrange_horizontal_attachment" alignment="right" offset="0" gap="5" />
								<layout class="stick_to_sides_attachment" alignment="top" inset="0" layout_children="true" />

								<!--no continental rankings for nations-->
								<widget class="button" id="gtwr" auto_size="horizontal" appearance="button/link/button">
									<translation id="text" translation_id="297317" type="use" value="World Rankings[COMMENT:label for displaying all nations' world rankings]" />
								</widget>

							</container>

						</container>

					</container>

				</container>

				<!--bottom part of the panel-->
				<container default_height="230">

					<layout class="arrange_horizontal_attachment" layout="-1, -1, -1" offset="0" gap="10" />
					<layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

					<widget class="major_clubs_snapshot_panel" id="MCsp">
						<record id="object_property">
							<integer id="get_property" value="objt" />
							<integer id="set_property" value="objt" />
						</record>
					</widget>

					<widget class="major_players_snapshot_panel" id="MPsp">
						<record id="object_property">
							<integer id="get_property" value="objt" />
							<integer id="set_property" value="objt" />
						</record>
					</widget>

					<widget class="transfer_snapshot_panel" id="TTsp">
						<record id="object_property">
							<integer id="get_property" value="objt" />
							<integer id="set_property" value="objt" />
						</record>
					</widget>
				</container>

				<container id="fifc" default_height="-4" minimum_height="200">
					<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />
					<widget class="fifa_ranking_history_panel" id="fifr">
						<translation id="title" translation_id="321111" type="use" value="World Ranking History[COMMENT: title for the world ranking history]" />
						<record id="object_property">
							<integer id="get_property" value="objt" />
							<integer id="set_property" value="objt" />
						</record>
					</widget>

					<container class="subsection_box" id="norn">
						<translation id="title" translation_id="321112" type="use" value="World Ranking History[COMMENT: title for world ranking history section when not being shown]" />
						<layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0" />
						<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" />
						<layout class="stick_to_sides_attachment" alignment="all" inset="0" />

						<!--spacer-->
						<container height="10" />

						<!--explanatory text-->
						<widget class="text" id="nort" alignment="centre" spec="text,large" style="semi_bold, embossed" auto_size="all">
							<translation id="text" translation_id="321113" type="use" value="There is no world ranking history available at the current time[COMMENT: message explaining why user can't see any ranking history]" />
						</widget>
						<widget class="text" id="nore" alignment="centre" spec="text,large" style="semi_bold, embossed" auto_size="all">
							<translation id="text" translation_id="321114" type="use" value="This nation is not included in the world rankings[COMMENT: message explaining why user can't see any ranking history]" />
						</widget>
						<widget class="button" id="wrbt" auto_size="horizontal" appearance="button/link/button">
							<translation id="text" translation_id="321115" type="use" value="View Current World Rankings[COMMENT:label for displaying all nations' world rankings]" />
							<layout class="centre_in_parent_attachment" alignment="horizontal" />
						</widget>
					</container>

				</container>

			</container>

		</container>
	</container>

</panel>