Template:Contactus: Difference between revisions

From TwentyOneWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
<noinclude>
<div class="mw-htmlform-ooui-wrapper oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-padded oo-ui-panelLayout-framed">
{{#template_params:Your name:|Your email address:|Subject: (label=Contact message)|Message:}}
  <form id="contactpage-wiki" action="https://rammwiki.net/wiki/Special:Contact/Wiki" method="post" enctype="application/x-www-form-urlencoded" class="mw-htmlform mw-htmlform-ooui oo-ui-layout oo-ui-formLayout">
</noinclude><includeonly>
    <fieldset class="oo-ui-layout oo-ui-labelElement oo-ui-fieldsetLayout">
{{#template_display:_format=infobox}}
      <legend class="oo-ui-fieldsetLayout-header">
[[Category:Contactus]]
        <span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon"></span>
</includeonly>
        <span class="oo-ui-labelElement-label">Send email</span>
      </legend>
      <div class="oo-ui-fieldsetLayout-group">
        <div class="oo-ui-widget oo-ui-widget-enabled">
          <input type="hidden" value="Special:Contact/Wiki" name="title">
          <div class="mw-htmlform-field-HTMLTextField oo-ui-layout oo-ui-labelElement oo-ui-fieldLayout oo-ui-fieldLayout-align-top">
            <div class="oo-ui-fieldLayout-body">
              <label for="name" class="oo-ui-labelElement-label">Your name:</label>
              <input type="text" tabindex="0" name="wpFromName" required id="name" class="oo-ui-inputWidget-input">
            </div>
          </div>
          <div class="mw-htmlform-field-HTMLTextField oo-ui-layout oo-ui-labelElement oo-ui-fieldLayout oo-ui-fieldLayout-align-top">
            <div class="oo-ui-fieldLayout-body">
              <label for="email" class="oo-ui-labelElement-label">Your email address:</label>
              <input type="email" tabindex="0" name="wpFromAddress" required id="email" class="oo-ui-inputWidget-input">
              <small>(needed if you want an answer)</small>
            </div>
          </div>
          <div class="mw-htmlform-field-HTMLTextField oo-ui-layout oo-ui-labelElement oo-ui-fieldLayout oo-ui-fieldLayout-align-top">
            <div class="oo-ui-fieldLayout-body">
              <label for="subject" class="oo-ui-labelElement-label">Subject:</label>
              <input type="text" tabindex="0" name="wpSubject" id="subject" class="oo-ui-inputWidget-input" value="Contact message">
            </div>
          </div>
          <div class="mw-htmlform-field-HTMLTextAreaField oo-ui-layout oo-ui-labelElement oo-ui-fieldLayout oo-ui-fieldLayout-align-top">
            <div class="oo-ui-fieldLayout-body">
              <label for="message" class="oo-ui-labelElement-label">Message:</label>
              <textarea name="wpText" required rows="25" id="message" class="oo-ui-inputWidget-input" style="width: 366px; height: 388px;"></textarea>
            </div>
          </div>
          <div class="mw-htmlform-field-HTMLCheckField oo-ui-layout oo-ui-labelElement oo-ui-fieldLayout oo-ui-fieldLayout-align-inline">
            <div class="oo-ui-fieldLayout-body">
              <input type="checkbox" name="wpCCme" value="1" id="ccme" class="oo-ui-inputWidget-input">
              <label for="ccme" class="oo-ui-labelElement-label">Email me a copy of my message.</label>
            </div>
          </div>
          <div class="mw-htmlform-field-HTMLInfoField oo-ui-layout oo-ui-fieldLayout oo-ui-fieldLayout-align-top">
            <div class="oo-ui-fieldLayout-body">
              <label for="captcha" class="oo-ui-labelElement-label">CAPTCHA</label>
              <div class="captcha">
                <div class="h-captcha" data-sitekey="1b953972-7232-460e-b176-f93872d2e0c5"></div>
              </div>
            </div>
          </div>
          <input type="hidden" value="+" name="wpEditToken">
          <input type="hidden" name="wpFormType" value="wiki">
          <div class="mw-htmlform-submit-buttons">
            <button type="submit" value="Send" class="oo-ui-buttonElement-button">Send</button>
          </div>
        </div>
      </div>
    </fieldset>
  </form>
</div>

Revision as of 23:51, 20 October 2024

 <form id="contactpage-wiki" action="https://rammwiki.net/wiki/Special:Contact/Wiki" method="post" enctype="application/x-www-form-urlencoded" class="mw-htmlform mw-htmlform-ooui oo-ui-layout oo-ui-formLayout">
   <fieldset class="oo-ui-layout oo-ui-labelElement oo-ui-fieldsetLayout">
     <legend class="oo-ui-fieldsetLayout-header">
       
       Send email
     </legend>
         <input type="hidden" value="Special:Contact/Wiki" name="title">
             <label for="name" class="oo-ui-labelElement-label">Your name:</label>
             <input type="text" tabindex="0" name="wpFromName" required id="name" class="oo-ui-inputWidget-input">
             <label for="email" class="oo-ui-labelElement-label">Your email address:</label>
             <input type="email" tabindex="0" name="wpFromAddress" required id="email" class="oo-ui-inputWidget-input">
             (needed if you want an answer)
             <label for="subject" class="oo-ui-labelElement-label">Subject:</label>
             <input type="text" tabindex="0" name="wpSubject" id="subject" class="oo-ui-inputWidget-input" value="Contact message">
             <label for="message" class="oo-ui-labelElement-label">Message:</label>
             <textarea name="wpText" required rows="25" id="message" class="oo-ui-inputWidget-input" style="width: 366px; height: 388px;"></textarea>
             <input type="checkbox" name="wpCCme" value="1" id="ccme" class="oo-ui-inputWidget-input">
             <label for="ccme" class="oo-ui-labelElement-label">Email me a copy of my message.</label>
             <label for="captcha" class="oo-ui-labelElement-label">CAPTCHA</label>
         <input type="hidden" value="+" name="wpEditToken">
         <input type="hidden" name="wpFormType" value="wiki">
           <button type="submit" value="Send" class="oo-ui-buttonElement-button">Send</button>
   </fieldset>
 </form>