Difference between revisions of "Premade Wiki Templates"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
(Created page with "= Using these Templates = To use the sheet, do the following steps: # Copy the source code from the template to your character page. ## To create your own page, just search...")
 
Line 23: Line 23:
 
<pre><nowiki>style="{{#backgroundImage:Image.jpg}};"</nowiki></pre>
 
<pre><nowiki>style="{{#backgroundImage:Image.jpg}};"</nowiki></pre>
 
From there, you can customize how the background image behaves based on the options [https://www.w3schools.com/cssref/pr_background-image.asp here].
 
From there, you can customize how the background image behaves based on the options [https://www.w3schools.com/cssref/pr_background-image.asp here].
 
== More Options ==
 
If you are more experienced with CSS, or want to experiment with your wiki design, there are [[More Wiki Templates]] available.
 
  
 
=Character Templates=
 
=Character Templates=

Revision as of 13:32, 18 August 2020

Using these Templates

To use the sheet, do the following steps:

  1. Copy the source code from the template to your character page.
    1. To create your own page, just search for the name you want to use, and then (if it's not already in use), click the "Create <page> on this wiki" link.
    2. Make sure that you aren't editing the original template page!
    3. Note that domain and venue pages should be created as categories. See the instructions in each section for details.
  2. Fill the sections in with the template for your venue.
  3. Customize icons - replace the banner and placeholder image with your own
    1. Character Icons can be found here.
  4. Customize color - you can either use one of the CSS Sheets, or the custom style sheet at the bottom of this page
  5. Add Categories - reference the MES Wiki Category List for the categories to add to the bottom of the page

Detailed Customization

These wiki pages are a starting point, meant for people with minimal wiki experience. If you want to go beyond the base layout, you can modify the layout code in the Template-specific formatting section at the bottom of each template.

Here are some good resources to get started on more advanced customization:

Using Images - Background Images are the one challenge with using CSS formatting on MediaWiki. They are not supported within the {{#css}} tag, but must instead be embedded in the HTML style attribute. In order to use background images, add the following code to the section that you want to have it:

style="{{#backgroundImage:Image.jpg}};"

From there, you can customize how the background image behaves based on the options here.

Character Templates

The Templates:

Venue Templates

Venue Specific templates:


The Templates:

Domain Templates

The Templates:

CSS Sheets

Replace the following code in the template with the reference to the CSS template that you want (i.e: vampire.css for Masquerade, or space.css for Infinite Edge)

{{#css:MyPage/vampire.css}}

If you want to just customize some colors, you can also modify just the parts that you want changed in the layout section at the bottom of the template.

Click to expand the custom CSS

Credits

Many of these templates are based off of the excellent work that others have done, either in layout or in code style.