« Formulaire:Hp-highlight » : différence entre les versions

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
m (1 révision importée : importer pages, templates etc de PPR-FR - X3)
(remove a space creating pb in automatic page naming)
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 10 : Ligne 10 :
You can also view [{{canonicalurl:Special:WhatLinksHere|target=Template:Hp-highlight&namespace=10}} existing HP highlight pages]
You can also view [{{canonicalurl:Special:WhatLinksHere|target=Template:Hp-highlight&namespace=10}} existing HP highlight pages]
</noinclude><includeonly>
</noinclude><includeonly>
{{{info|page name=Template:Hp-highlight-{{#replace:{{lc:<Hp-highlight[title]>}}| |-}}<unique number>}}}
{{{info|page name=Template:Hp-highlight-{{#sub:{{#replace:{{lc:<Hp-highlight[title]>}}| |-}} |0|30}} }}}
{{{for template|Hp-highlight}}}
{{{for template|Hp-highlight}}}
<table style="border-collapse: separate; border-spacing:15px;" >
<table style="border-collapse: separate; border-spacing:15px;" >
<tr><td align=right nowrap><big>'''Title'''</big></td><td>{{{field|title|input type=text|placeholder=max 40 characters|maxlength=40|size=50|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Title'''</big></td><td>{{{field|title|input type=text|placeholder=max 40 characters|maxlength=40|size=50|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Subtitle'''</big></td><td>{{{field|subtitle|input type=text|placeholder=max 40 characters|maxlength=40|size=50|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Subtitle'''</big></td><td>{{{field|subtitle|input type=text|placeholder=max 40 characters|maxlength=40|size=50|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Image'''</big></td><td>{{{field|image|uploadable|values from namespace=File|default=Wiki-Home-Highlight-image_200x270.jpg|image preview|placeholder=type name of already uploaded image or upload a new image|size=50|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Image'''</big></td><td>{{{field|image|uploadable|values from namespace=File|default=HP-Highlight-model_200x270.jpg|image preview|placeholder=type name of already uploaded image or upload a new image|size=50|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Description text'''</big></td><td>{{{field|text|input type=textarea|placeholder=Type here the description text. You can use wikitext to format the text (bold ...)|maxlength=400|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Description text'''</big></td><td>{{{field|text|input type=textarea|placeholder=Type here the description text. You can use wikitext to format the text (bold ...)|maxlength=400|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Button or link text'''</big></td><td>{{{field|btn-text|input type=text|placeholder=max 40 characters|maxlength=40|size=50|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Button or link text'''</big></td><td>{{{field|btn-text|input type=text|placeholder=max 40 characters|maxlength=40|size=50|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Link (internal/external)'''</big></td><td>{{{field|link|input type=text|placeholder=Page name or url (http....)|size=60|mandatory}}}</td></tr>
<tr><td align=right nowrap><big>'''Link (internal/external)'''</big></td><td>{{{field|link|input type=text|placeholder=Page name or url (http....)|size=60|mandatory}}}</td></tr>
<tr><td align=left nowrap colspan="2"></td></tr>
<tr style="height: 5px; background-color: #eaeaea;"><td align=left nowrap colspan="2"></td></tr>
<tr style="height: 32px; background-color: #eaeaea;"><td align=center nowrap colspan="2" style="vertical-align:middle;"><big>'''''OPTIONALLY'''''</big> ''(not recommended) - to add more text and a second call-to-action''</td></tr>
<tr><td align=right nowrap><big>'''Add a second call to action?'''</big></td><td style="vertical-align: middle;">{{{field|cta2|input type=checkbox|show on select=optional-part}}}</td></tr>
</table>
 
<div id="optional-part">
<table style="border-collapse: separate; border-spacing:15px;" >
<tr style="height: 32px; background-color: #eaeaea;"><td align=center nowrap colspan="2" style="vertical-align:middle;"><big>'''''OPTIONAL'''''</big> ''(not recommended) - to add more text and a second call-to-action''</td></tr>
<tr><td align=right nowrap><big>'''Description text2 (optional)'''</big></td><td>{{{field|text2|input type=textarea|maxlength=300}}}</td></tr>
<tr><td align=right nowrap><big>'''Description text2 (optional)'''</big></td><td>{{{field|text2|input type=textarea|maxlength=300}}}</td></tr>
<tr><td align=right nowrap><big>'''Button2 or link2 text (optional)'''</big></td><td>{{{field|btn-text2|input type=text|placeholder=max 40 characters|maxlength=40|size=50}}}</td></tr>
<tr><td align=right nowrap><big>'''Button2 or link2 text (optional)'''</big></td><td>{{{field|btn-text2|input type=text|placeholder=max 40 characters|maxlength=40|size=50}}}</td></tr>
<tr><td align=right nowrap><big>'''Link2 (optional)'''</big></td><td>{{{field|link2|input type=text|placeholder=Page name or url (http....)|size=60}}}</td></tr>
<tr><td align=right nowrap><big>'''Link2 (optional)'''</big></td><td>{{{field|link2|input type=text|placeholder=Page name or url (http....)|size=60}}}</td></tr>
</td></tr></table>
</div>
{{{end template}}}
{{{end template}}}
</td></tr></table>
 
{{{standard input|minor edit}}} {{{standard input|watch}}}
{{{standard input|minor edit}}} {{{standard input|watch}}}


{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}}
{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}}
</includeonly>
</includeonly>

Dernière version du 15 juin 2022 à 14:53


This is the "Hp-highlight" form.

To create a new Homepage Highlight with this form, click on the button below


You can also view existing HP highlight pages