Welcome to Assassin's Creed Wiki! Log in and join the community.
Board Thread:Wiki discussion/@comment-126761-20150804170257/@comment-2240397-20151202181531: Difference between revisions
Jump to navigation
Jump to search
imported>Shareif Created page with "Thanks! You can center the title by adding format field. It is used to well... format the property before it is displayed in infobox. Very useful for adding bold, links or cen..." |
imported>Shareif No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
You can center the title by adding format field. It is used to well... format the property before it is displayed in infobox. Very useful for adding bold, links or centering text. | You can center the title by adding format field. It is used to well... format the property before it is displayed in infobox. Very useful for adding bold, links or centering text. | ||
<pre><nowiki> | <pre><nowiki> | ||
<title source="titre"> | |||
<default><center>{{PAGENAME}}</center></default> | |||
<format><center>{{{titre|}}}</center></format> | |||
</title> | |||
</nowiki></pre> | </nowiki></pre> | ||
I've added the tag here: http://fr.assassinscreed.wikia.com/wiki/Mod%C3%A8le:Infobox_Mission/Version_de_travail | I've added the tag here: http://fr.assassinscreed.wikia.com/wiki/Mod%C3%A8le:Infobox_Mission/Version_de_travail | ||
Or you can also add the following line to css: | Or you can also add the following line to css: | ||
<pre> | |||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
text-align:center; | text-align:center; | ||
} | }</pre> | ||
Latest revision as of 20:16, 2 December 2015
Thanks! You can center the title by adding format field. It is used to well... format the property before it is displayed in infobox. Very useful for adding bold, links or centering text.
<title source="titre">
<default><center>{{PAGENAME}}</center></default>
<format><center>{{{titre|}}}</center></format>
</title>
I've added the tag here: http://fr.assassinscreed.wikia.com/wiki/Mod%C3%A8le:Infobox_Mission/Version_de_travail
Or you can also add the following line to css:
.portable-infobox .pi-title {
text-align:center;
}