Difference between revisions of "Template:Company"

From Archiveteam
Jump to navigation Jump to search
(I could probably use the navbox template instead of the subst:PAGENAME hack, but I don't want to rewrite the whole thing.)
(HTTPS)
 
Line 15: Line 15:
 
| align=center width=200px style="background: #ddddff;" | [[Website 1]] {{·}} [[Website 2]] {{·}} [[Website 3]]
 
| align=center width=200px style="background: #ddddff;" | [[Website 1]] {{·}} [[Website 2]] {{·}} [[Website 3]]
 
|-
 
|-
| colspan=2 | <p class="plainlinks" style="text-align:center; font-size:70%"> [http://archiveteam.org/index.php?title=Template:Company Go to template page]</p>
+
| colspan=2 | <p class="plainlinks" style="text-align:center; font-size:70%"> [https://archiveteam.org/index.php?title=Template:Company Go to template page]</p>
 
|}
 
|}
  

Latest revision as of 17:20, 21 November 2020

This is a navigation box template that can be used to indicate which websites belong to the same company.

Do not include this template, as it doesn't have parameters (and it shouldn't, as you don't want to enter them every time you use the template). It is intended to be replicated on an own page (preferably a subpage under Template:Company with the company name being its title), and then include that template with no paramteres. E.g.:

{{Template:Company/Indamedia}}

Spaces should be avoided in the page name, otherwise you'll need to set the link for "Go to template page" manually.

Please note that this navbox should be included before the "Navigation box" (Archive Team) template.

It looks like this:

Websites operated by Company Name
Website 1  · Website 2  · Website 3

And here's the code for the above result:

{| style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; font-size: 100%; width:100%"
| align=center style="background: #ccccff;" | '''Websites operated by ''Company Name'''''
|-
| align=center width=200px style="background: #ddddff;" | [[Website 1]] {{·}} [[Website 2]] {{·}} [[Website 3]]
|-
| colspan=2 | <p class="plainlinks" style="text-align:center; font-size:70%"> [http://archiveteam.org/index.php?title=Template:{{subst:PAGENAME}} Go to template page]</p>
|}
<noinclude>[[Category:Templates]]</noinclude>

It's not collapsible, otherwise it would look crappy. Ideally it's not that big that it needs to be collapsed.