Welcome to Assassin's Creed Wiki! Log in and join the community.

Board Thread:Wiki discussion/@comment-126761-20150804170257/@comment-2240397-20151202191400

From the Assassin's Creed Wiki
Jump to navigation Jump to search

Hey, that's exactly what 'format' is for. Let me explain:

When template is used on a page an the 'titre' is empty or not defined at all the <default> will be used.

When template is used on a page and the 'titre' has value infobox will look for <format> and will use it to extend the value of 'titre'. In the example above it will wrap it with '<center>' tag.

If both default and format tags are used and with center tags we have guarantee that any text provided by users, or pulled from the article title, will be centered :)

The CSS class will also work in both cases :)