Template:CountryButtonGroup


Description

This template creates a flexible button group for country-specific genealogy pages, displaying three buttons: one for online records, one for online research help (hardcoded), and one for getting started.

Usage

Copy the following code and replace the parameter values as needed:

{{CountryButtonGroup
|records_link=Page Title
|records_text=Display Text
|started_link=Page Title
|started_text=Display Text
}}

Parameters

  • records_link: The wiki page title for the online records link (e.g., "Afghanistan Online Genealogy Records"). Required.
  • records_text: The display text for the records button (e.g., "Afghanistan Online Genealogy Records"). Defaults to "Online Genealogy Records" if not provided.
  • started_link: The wiki page title for the getting started link (e.g., "Afghanistan Getting Started"). Required.
  • started_text: The display text for the getting started button (e.g., "Getting
    Started"). Defaults to "Getting Started" if not provided.

Example

{{CountryButtonGroup
|records_link=Afghanistan Online Genealogy Records
|records_text=Afghanistan Online Genealogy Records
|started_link=Afghanistan Getting Started
|started_text=Getting<br>Started
}}

This will produce a button group with links to "Afghanistan Online Genealogy Records," "Online Research Help," and "Afghanistan Getting Started."

Notes

  • The "Online Research Help" button is hardcoded and does not require parameters.
  • If `records_link` or `started_link` is missing, a greyed-out placeholder text will appear.
  • The template uses inline CSS for styling. Ensure the classes `online_records_button`, `community_button`, and `red_online_button` are defined in your wiki's stylesheet.