Difference between revisions of "Team:Heidelberg/templateguide"

(Created page with "{{Heidelberg/header}} {{Heidelberg/navbar}} {{Heidelberg/main| Title| Subtitle| URL to image| color|...")
 
Line 12: Line 12:
 
     }}
 
     }}
 
     {{Heidelberg/templateus/Contentsection|
 
     {{Heidelberg/templateus/Contentsection|
         Basic content, here texts are written.
+
         {{#tag:html|
       
+
            Basic content, here texts are written.
        General rules:
+
 
        if html tags (the things starting with "<" and ending with ">") occur, the whole block in which they occur, have to be inside the following (replacing 'content')
+
            General rules:
       
+
            if html tags (the things starting with "<" and ending with ">") occur, the whole block in which they occur, have to be inside the following (replacing 'content')
        {{tag:html|
+
 
            content
+
            {{tag:html|
        }}
+
                content
       
+
            }}
        Pages on the wiki can be edited or created by going the URL where the page shall be and choosing  
+
 
       
+
            Pages on the wiki can be edited or created by going the URL where the page shall be and choosing  
        wiki tools -> Edit/Create
+
 
       
+
            wiki tools -> Edit/Create
        Simply paste the text there and save the page.  
+
 
       
+
            Simply paste the text there and save the page.  
        Images can be uploaded by choosing 'upload files' under 'wiki tools'.
+
 
        Filenames shall be  
+
            Images can be uploaded by choosing 'upload files' under 'wiki tools'.
       
+
            Filenames shall be  
        T--Heidelberg--Team_Heidelberg_2017_real-name.png
+
 
       
+
            T--Heidelberg--Team_Heidelberg_2017_real-name.png
        If a file was uploaded, a page showing the file occurs, click on 'original file' and take the URL you are getting to. This URL is the image URL used to embed the image.
+
 
       
+
            If a file was uploaded, a page showing the file occurs, click on 'original file' and take the URL you are getting to. This URL is the image URL used to embed the image.
        An editor that matches braces is pretty useful. Check if the braces of main are close properly and the chances are good thta the page will work.
+
 
       
+
            An editor that matches braces is pretty useful. Check if the braces of main are close properly and the chances are good thta the page will work.
        headers can be written as follows:
+
 
        <h1>Large header</h1>
+
            headers can be written as follows:
        or in smaller:
+
            <h1>Large header</h1>
        <h2>Smaller Header</h2>
+
            or in smaller:
        Referencing works <x-ref>iGEMHD</x-ref>.
+
            <h2>Smaller Header</h2>
        Links to other pages work like <a href="URL">this</a>.
+
            Referencing works <x-ref>iGEMHD</x-ref>.
        Images can be embedded over the half page:
+
            Links to other pages work like <a href="URL">this</a>.
        {{Heidelberg/templateus/Imagebox|
+
            Images can be embedded over the half page:
            Image URL|
+
            {{Heidelberg/templateus/Imagebox|
            Title|
+
                Image URL|
            Subtitle|
+
                Title|
            pos = left              # can also be right  
+
                Subtitle|
        }}
+
                pos = left              # can also be right  
        Or over the full page:
+
            }}
        {{Heidelberg/templateus/Imagesection|
+
            Or over the full page:
            Image URL|
+
            {{Heidelberg/templateus/Imagesection|
            Title|
+
                Image URL|
            Subtitle
+
                Title|
        }}
+
                Subtitle
        HTML tables can be generated from excel tables via http://tableizer.journalistopia.com/tableizer.php. Please delete the 'class="tableizer-table"' and 'class="tableizer-firstrow"'
+
            }}
        They are put in tableboxes as follows:
+
            HTML tables can be generated from excel tables via http://tableizer.journalistopia.com/tableizer.php. Please delete the 'class="tableizer-table"' and 'class="tableizer-firstrow"'
        {{Heidelberg/templateus/Tablebox|
+
            They are put in tableboxes as follows:
            Title|
+
            {{Heidelberg/templateus/Tablebox|
            {{#tag:html|
+
                Title|
                html table
+
                {{#tag:html|
            }}|
+
                    html table
            Subtitle
+
                }}|
 +
                Subtitle
 +
            }}
 
         }}
 
         }}
 
     }}
 
     }}
 
}}
 
}}
{{Heielberg/references2}}
+
{{Heidelberg/references2}}
 
{{Heidelberg/footer}}
 
{{Heidelberg/footer}}

Revision as of 16:58, 28 October 2017


Title
Subtitle
Content
Basic content, here texts are written. General rules: if html tags (the things starting with "<" and ending with ">") occur, the whole block in which they occur, have to be inside the following (replacing 'content') [[:Template:Tag:html]] Pages on the wiki can be edited or created by going the URL where the page shall be and choosing wiki tools -> Edit/Create Simply paste the text there and save the page. Images can be uploaded by choosing 'upload files' under 'wiki tools'. Filenames shall be T--Heidelberg--Team_Heidelberg_2017_real-name.png If a file was uploaded, a page showing the file occurs, click on 'original file' and take the URL you are getting to. This URL is the image URL used to embed the image. An editor that matches braces is pretty useful. Check if the braces of main are close properly and the chances are good thta the page will work. headers can be written as follows:

Large header

or in smaller:

Smaller Header

Referencing works iGEMHD. Links to other pages work like this. Images can be embedded over the half page:
Title
Subtitle
Or over the full page:
Title
Subtitle
HTML tables can be generated from excel tables via http://tableizer.journalistopia.com/tableizer.php. Please delete the 'class="tableizer-table"' and 'class="tableizer-firstrow"' They are put in tableboxes as follows:

Title Subtitle

html table

References