I'm not sure if I understand you correctly, but what the linked article
shows is a template. If you look at the edit page, you'll see:
{{Zack Snyder}}
{{Frank Miller}}
{{Dark Horse Comics films}}
{{featured article}}
These are called templates. Explained here:
<http://en.wikipedia.org/wiki/Help:Template>
Another example would be the "{{Infobox ..." template at the top of the page.
For example, the page to the Dark Horse Comics films template is here:
<http://en.wikipedia.org/wiki/Template:Dark_Horse_Comics_films>
If you look at the source code, you'll note that it in turn makes use of
the Navbox template, which is here:
<http://en.wikipedia.org/wiki/Template:Navbox>
All the templates used on the 300 page you linked are listed at the
bottom of its edit page:
<http://en.wikipedia.org/w/index.php?title=300_(film)&action=edit>
Note that the featured article template, which in the code is between
Dark Horse and Categories, does not appear there on the page but at the
top right (as a star).
You need to define a template for what you want on its own page, and
then you can call it on any other page with {{your_template}}. Look at
the source code of the templates you like, to understand how you might
want to try to define yours. E.g. look at "view source" on the Navbox
template page and try and work with what you find there!
Sorry - my CSS skills are lacking...I am trying to
create a text block
with links inside that sits directly above the category block on a
page. I want this text block to look exactly like the category block
does. Here is an example:
http://en.wikipedia.org/wiki/300_(film)#External_links
Note the category block has:
Categories: English-language films | Spoken articles | Featured
articles | 2000s action films | 2007 films | American films | Battle
of Thermopylae | Classical war films | Fantasy adventure films | Films
based on actual events | Films based on comics by Frank Miller | Films
based on Dark Horse comics | Films set in Greece | Films shot in
Montreal | Films shot in Super 35 | Historical films | Internet memes
| Legendary Pictures films | War epic films | Warner Bros. films
How could I replicate this and have it sit directly above the category
block with the same spacing that is currently between the category
block and the Dark Horse Comics films block on that page.
Thanks so much!
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l