Difference between revisions of "Template:Company"

From Archiveteam
Jump to navigation Jump to search
(Created page with "<noinclude> 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 par...")
 
(noinclude)
Line 25: Line 25:
 
| colspan=2 | <p class="plainlinks" style="text-align:center; font-size:70%">Template actions: [http://archiveteam.org/index.php?title=Template:Hungarian_websites view] {{·}} [http://archiveteam.org/index.php?title=Template_talk:Hungarian_websites&action=edit&redlink=1 talk] {{·}} [http://archiveteam.org/index.php?title=Template:Hungarian_websites&action=edit edit]</p>
 
| colspan=2 | <p class="plainlinks" style="text-align:center; font-size:70%">Template actions: [http://archiveteam.org/index.php?title=Template:Hungarian_websites view] {{·}} [http://archiveteam.org/index.php?title=Template_talk:Hungarian_websites&action=edit&redlink=1 talk] {{·}} [http://archiveteam.org/index.php?title=Template:Hungarian_websites&action=edit edit]</p>
 
|}
 
|}
[[Category:Templates]]
+
<noinclude>[[Category:Templates]]</noinclude>
 
</pre>
 
</pre>
 
It's not collapsible, otherwise it would look crappy. Ideally it's not that big that it needs to be collapsed.
 
It's not collapsible, otherwise it would look crappy. Ideally it's not that big that it needs to be collapsed.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 19:16, 11 October 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/Port Kft.}}

Please note that it should be included before the "Navigation box" 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%">Template actions: [http://archiveteam.org/index.php?title=Template:Hungarian_websites view] {{·}} [http://archiveteam.org/index.php?title=Template_talk:Hungarian_websites&action=edit&redlink=1 talk] {{·}} [http://archiveteam.org/index.php?title=Template:Hungarian_websites&action=edit edit]</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.