Wiki Page Template

admin 11/22/2021
92 Comments

Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. Help:A quick guide to templates, a brief introduction on templates for beginners; Help:Template, the main technical help page on templates, provides information on creating and using templates; Wikipedia:Template namespace, guidelines and tips for use of templates. Apr 02, 2021 The content on the site can be arranged and stored in a number of ways, to take into account the format of each type of content. This includes FAQ templates, video post formats, and full-page templates, alongside the standard WordPress post format. There are also six custom widgets available for populating the sidebars and footer areas. From Wikipedia, the free encyclopedia This template is not recommended for use in articles or where accessibility is a concern. This template is based on a table, and it therefore does not adjust to small screen widths (like mobile devices). Apr 06, 2021 Speaking generally, a template is any wiki page whose content is designed to be transcluded (embedded) inside other pages. Templates follow a convention that the name is prefixed with Template:, assigning it to that namespace.

  1. Help:Magic Words– Fancy Stuff You May Find In Some Templates
  2. Help:External Searches– A Template Special Use Case Example
  3. Wiki Page Templates Free
  4. Wiki Page Template Sharepoint Online
  5. Fandom Template Maker

Most of us are familiar with the wiki style of organizing and collaborating on content; if you’re not, check out this Wikipedia article about wikis! (Wiki-ception?)

But did you know that the default type of page on a SharePoint site is considered a wiki? Your admin may not have chosen to maintain the wiki style of all SharePoint pages, but you might encounter a wiki as you work on some portion of your team site. SharePoint wikis can be added to, edited, or linked to/within, all without any special editing tools.

Here‘s what Microsoft suggests for types of content that would work well for a wiki site:

A corporation can create a company-wide Enterprise wiki where employees can find and contribute the latest, most comprehensive information about corporate activities, benefits, and services. Or your team can use a wiki to collect information for new team members, to plan a conference, or to collect ideas for a large document or manual.

If you have permissions to create a site, library, or pages in SharePoint, you can create a wiki. (For more details, see the “Who can create a wiki?” section here–SharePoint permissioning can get complicated.) Check out the instructions below, or the video demo above.

To create a wiki page library on your team site:

  1. Click the settings gear and select Add an app.
  2. On the Apps page, select Wiki Page Library. You may have to scroll through several pages of options, or you can search.
  3. In the Name box, type a name for your library.
  4. Click Create.

You can configure settings for your new library by going to the library and clicking Page in the header.

To create an Enterprise wiki site:

Before creating an Enterprise wiki, Microsoft recommends thinking about whether it’s the best solution for your organization. You may wish to do more researching on planning and creating sites and site collections, as a full-scale Enterprise wiki should be created as its own site collection. These instructions (and the video above) show how to create an Enterprise wiki as a subsite.

  1. On the site where you wish to create an Enterprise wiki, click the settings gear and choose Site contents.
  2. Click new subsite.
  3. On the New SharePoint Site page, add a Title and URL name for the site.
  4. In the Template Selection section, click Publishing and then Enterprise Wiki site template.
  5. Click Use unique permissions if you need to set unique permissions.
  6. Click Create.

Notes about the process above:

  • The Publishing tab won’t appear if publishing features aren’t enabled at the site collection level. According to Microsoft, “Your site collection administrator needs to enable the SharePoint Server Publishing Infrastructure feature on the site collection to make publishing-related templates available in the site.”
  • You can configure site permissions and other settings for your Enterprise wiki later from the Settings menu in the header.

Once you’ve created the page, you’ll see sample content about wikis. You can edit and replace with your own content; it’s recommended that you start by editing the home page and adding placeholder links to pages you’ll create later. Happy wiki-ing!

This help page is a how-to guide.
It details processes or procedures of some aspect(s) of Wikipedia's norms and practices. It is not one of Wikipedia's policies or guidelines, and may reflect varying levels of consensus and vetting.

This is a quick overview of templates. Full details can be found in Help:Template and m:Help:Advanced templates.

A template is a Wikipedia page created to be included in other pages. It usually contains repetitive material that may need to show up on multiple articles or pages, often with customizable input. Most templates are scripts using MediaWiki parser functions, nicknamed 'magic words', a simple scripting language.

Template pages are found in the template namespace. This means any page whose title begins with 'Template:', such as 'Template:foo', can be used for that purpose. The content from a template titled Template:foo can be added into a Wikipedia page by editing a page and typing {{foo}} into it. When then viewing the page, {{foo}} is automatically replaced by the content of the page 'Template:foo'. If the page 'Template:foo' is later altered, all the pages with {{foo}} in them will change automatically.

Among other things, templates are used to add recurring messages to pages in a consistent way, to add boilerplate messages, and to create navigational boxes.

When a template is automatically expanded and appears on a page, it is said to be 'transcluded'.

Templates are documented (or should be) at their pages. Thus if you want to know how to use a template whose name is 'foo' (perhaps because you've seen {{foo ...}} in the source of an article), then go to 'Template:foo'. (The documentation itself will usually be located at 'Template:foo/doc', but is also transcluded onto the 'Template:foo' main page).

Page

Creating, editing, and using templates

You can start a new template in the same way that you would start an article page. The only difference is that its title must start with Template:.

Once you have made the template—for example Template:foo—you can add {{foo}} to the pages that you want to use it on. Every page using this template uses the same boilerplate text each time that a user visits it. When the template is updated, all pages containing the template tag are automatically updated.

Alternatively, if you do not wish the page to reflect future updates to the template, you can add {{subst:foo}} to the pages on which you want to use the boilerplate text. The system fetches a one-time copy of the template text and substitutes it into the page in place of the template tag. If anyone edits the template afterwards, pages that used the subst: keyword do not update. Sometimes that is what you want.

If the template that you want to edit looks like {{foo}}, you would go to Template:foo to edit it. To get there, type 'Template:foo' in the search box (see search), or make a wikilink like [[Template:foo]] somewhere, such as in the sandbox, and click on it.

Once you are there, just click 'edit' or 'edit this page' at the very top of the page (not the documentation edit button lower down) and edit it in the same way that you would any other page. You can add anything that you would add to a normal page, including text, images, and other templates. When editing templates that are used, it is suggested to use sandboxes, as described in the template sandbox and test cases how-to guide.

Parameters

Templates can have parameters which the page can dynamically incorporate into the transcluded page. Instead of just the template name, like {{foo}}, an embedded template tag would have additional values separated by vertical bars ( ), e.g. {{foo July lc=yes}}. Here July is the value of the first unnamed parameter; yes is the value of the named parameter lc. Writing the template page for a template with parameters is more complicated than for a template with no parameters. See Help:Template.

Help:Magic Words– Fancy Stuff You May Find In Some Templates

Editing existing templates

When you edit a template that is in use, it can affect many pages throughout Wikipedia all at once.

Wikipedia:Template editor § Use has tips to help avoid problems.

Template link template

To include the actual full name of the template as text (including the surrounding braces) in a Wikipedia article, apply the template link template. The primary motivation to do this is in instruction and documentation. A short example is the code:

{{tl foo}}
generates
{{foo}}

FAQ

How can I find out how to use an existing template?

To see the documentation for the template whose name is 'foo', go to 'Template:foo'.

How do I find out where a template is used?

To list all pages onto which a template is transcluded, use Special:WhatLinksHere and type in template:templatename (more info).
Page

Can I use a template in more than one project?

No, if you want to use it on two different language Wikipedias, for example, you would need to create it twice.

Are templates case-sensitive?

Yes, except usually the first letter.

How can I add parameters?

See Help:Template for instructions.

I edited the template, so why didn't the page it is used on change?

Wikipedia and your computer both store webpage caches – or saved copies – and don't always show you an updated page. First, try to bypass your browser's cache by pressing ⌘R, Ctrl+R, or F5. If that fails, you may need to purge the page's cache (which can be done several different ways). Perhaps the easiest way to do this is by clicking edit on the page in which the template appears, and then clicking on Publish changes without having changed anything – there is no need to fill in the Summary field since there will not be any history of this as a change generated.

Can I move a template to a new name?

Yes, this works in exactly the same way as normal page moves. When a page called for inclusion is a redirect page, the redirect target is included instead.

Help:External Searches– A Template Special Use Case Example

Can I use a template within a template?

Yes.

How do I add a new template?

You start a new template in the same way you would start a normal page. The only difference is that its title must start with Template:. Don't forget to document it so that other editors can use it!

Where is the manual for the programming language used to write templates?

Wiki Page Templates Free

The language inside templates is the same language as regular wiki markup, but template writers tend to use the more complex available functions such as #if: statements. See Wikipedia's Help:Template and Wikimedia's mw:Help:Template, including all of 'advanced functioning' help pages listed toward the bottom of that page.

Examples

  • w:en:Template:stub: an often used message (at English Wikipedia).
  • w:en:Template:Biological classification: a template with parameters (at English Wikipedia).
  • b:en:Template:GeneralChemTOC: a horizontal menu bar (at English Wikibooks).
  • w:en:Template:Underwater work: a template as a simple table with a picture (at English Wikipedia).

Wiki Page Template Sharepoint Online

Wikipedia-specific help

  • Help:Template (more details)
  • m:Help:Templates (details from Wikimedia)
  • m:Help:Advanced templates (advanced details from Wikimedia)
  • Wikipedia:Template namespace (the usual namespace for templates)
  • Wikipedia:Transclusion (transcluding templates)
  • Wikipedia:Substitution (substituting templates)
  • Wikipedia:Template messages (categorised list of links to available templates)

Fandom Template Maker

Retrieved from 'https://en.wikipedia.org/w/index.php?title=Help:A_quick_guide_to_templates&oldid=1016008166'