Skip to content

Note type customisation

aplaice edited this page Oct 9, 2025 · 5 revisions

This page is intended to list various simple customisations of the note type (card templates and styling) that aren't included in any of the main AUG decks, but that might be of interest to some people.

If you have any such customisations, please feel free to add them below! If your customisations are more than minor changes to the templates, please open an issue suggesting adding them to the main deck or asking for access to the sandbox repo.

Warning

Note that if you do customise your AUG note type and later upgrade your AUG deck, then you will unfortunately lose your customisation, unless you take care! We currently suggest either:

  1. the annoying (but simple) workaround of copy-pasting your changed versions of the templates or styling to an external file and then copy-pasting back.
  2. cloning the note type and switching to the clone as described in the README.

Google maps link

To add a simple Google Maps link to your cards, simply make the edits below. This can be a helpful shortcut for doing further study or answering questions you are curious about, but aren't contained in the cards. For example:

  • Viewing the names of the neighbouring countries
  • Zooming in to areas of interest
  • Scrolling around
  • Seeing where the capital is within the country
  • etc etc

The cards contain the following at the top of the Back Templates by default:

<div class="value value--top">{{Country}}</div>

You can simply replace this with the following:

<div class="value value--top">
  <a class="maps-link" href="https://www.google.com/maps/search/{{Country}}">{{Country}}</a>
</div>

You'll need to do this for the backs of all the card types with the UG deck.

Note you probably also want the following CSS in the styling panel:

.maps-link {
  color: white;
  &:hover {
    text-decoration: underline;  
  }
}

See more in #716.

Clone this wiki locally