Difference between revisions 603687 and 665620 on arzwiki

{{صفحه توثيق فرعيه}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE.--->
{{intricate template}}
{{Infobox former country
|_noautocat=yes
|native_name = {{{native_name}}}
|conventional_long_name = {{{conventional_long_name}}}
|common_name = {{{common_name}}} 
(contracted; show full)
*[[User:MJCdetroit|MJCdetroit]] ([[User_talk:MJCdetroit|talk]])

=== Usage ===

# Almost all fields are optional, some fields are more optional than others. It is not expected that you fill in every single field that is shown here.
# Some fields are hidden but necessary for infobox functionality. Not all fields are displayed here.
# If a state has a high number of leaders (>5), '''do not''' modify this template to fit them all in. It is not the 
  intention of this infobox to do them all - that makes the infobox way too big (any extra slots added here without previous discussion will be reverted). Instead, list only the first and last title holder, with (first) or (last) placed after the person's name.
# Some fields place the article into certain categories: see '''[[Template:Infobox former country/Categories|list of supported categories]]'''.
(contracted; show full)
|}


==== Style parameters ====
The template allows some optional parameters that control the style of the infobox, for size and coloring, when displayed on a page:

:* <code>width = 290px</code> - sets the width of the infobox (default: 290px).
:* <code>boxstyle = . . .</code>
   - sets the style properties of the whole infobox.
:* <code>titlestyle = . . .</code>   - sets the style properties of the top title/name area of the infobox.

Some specific styles for the whole infobox are as follows:
:* <code>boxstyle = background:lightgray</code> - sets the color behind all areas of the infobox.
:* <code>boxstyle = border-color:blue;</code> - sets the line around the infobox to the color blue.
:* <code>boxstyle = border-width:5px;</code> - sets line width around box to 5 pixels (default: 1px).
:* <code>boxstyle = margin-left:1px; margin-right:7px;</code> - resets the left/right margins of the infobox for similar alignment in both browsers [[Mozilla Firefox]] and [[Internet Explorer]].

Some specific styles for the title/name are as follows:
:* <code>titlestyle = background:lightgray</code> - sets the color behind the top title/name area of the infobox.
:* <code>titlestyle = color:gold</code> - sets the text color in top title/name area.
:* <code>titlestyle = text-align:left</code> - shifts title/name text to the left (default: center).

For multiple settings, combine all on one line, as follows:
:::* <code>titlestyle = background:lightgray; color:darkgreen;</code>

The properties are separated by semicolons (";"), and beware that accidentally omitting semicolons will cause the settings to be ignored.   Some style properties cannot be changed, such as setting "titlestyle=margin-left:25px" might be ignored, because "margin-left" is a property, instead, of the whole box, using ''boxstyle''.

=== Banner ===

To allow [[Wikipedia:WikiProject Former countries|project members]] to keep track of articles, any page that uses this infobox '''must''' be labeled with the WPFC banner. To do this, go to the article's talk page and add <nowiki>{{WPFC}}</nowiki> to the top of the talk page, if the banner is not there already. See the [[Template:WikiProject Former countries|banner page]] for more information about the extra parameters that the banner supports. At the absolute minimum, the talk page should contain <nowiki>{{WPFC}}</nowiki>.

=== See also ===
* {{tl|Infobox former subdivision}} - for subdivisions of former countries. In many ways identical to this infobox, but with a few modifications.

<includeonly>
[[Category:WikiProject Former countries]]
[[Category:Country infobox templates|Former country]]
[[Category:History and events infobox templates|Former country]]

</includeonly><noinclude>
[[Category:Exclude in print]]
</noinclude>