Template:Main: Difference between revisions

From StreetCatWiki
No edit summary
m (Protected "Template:Main" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!DOCTYPE html>
:''Main article: [[{{{1}}}|{{{2|{{{1}}}}}}]]''
<html lang="en">
<noinclude>
  <head>
<templatedata>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
{
  <meta charset="UTF-8" />
"params": {
  <meta name="description" content="BẢO TRÌ - 404">
"1": {
  <link rel="shortcut icon" href="https://i.imgur.com/4lSyggf.jpg" type="image/x-icon">
"aliases": [
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Paytone One|Lalezar|Carter One">
"URL"
  <title>BẢO TRÌ - 404</title>
],
  <script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
"label": "URL",
<link rel="stylesheet" href="./assets/css/main1.css" />
"example": "https://streetcat.wiki/index.php/Main_Page",
</head>
"type": "url",
<body onclick="audio.play()">
"required": true,
    <div id="particles-js"></div>
"description": "Insert a URL"
      <img src="https://i.imgur.com/rTpxwJ9.png">
},
        <div class="message-box">
"2": {
<h1 style="font-family: 'Paytone One';">TẠM BẢO TRÌ</h1>
"aliases": [
<p><li style="font-family: 'Lalezar';color: #ff0d25;">Sửa lỗi người dùng hay mắc phải</li></p>
"Name"
<p><li  style="font-family: 'Lalezar';color: #1eff00;">Cải thiện tốc độ sử lí khi truy cập.</li></p>
],
<p><li  style="font-family: 'Lalezar';color: #eeff00;">Giao diện thuần túy dễ sử dụng.</li></p>
"label": "Name of the page",
<div class="buttons-con">
"example": "Main Page",
                <div class="action-link-wrap">
"suggested": true,
                    <a href="https://minhnghiadev.x10.bz/" class="link-button" style="font-family: 'Carter One';"> 🍒 Home Page</a>
"description": "Text "
                    <a href="https://www.facebook.com/NghiaCuti.Dev" class="link-button" style="font-family: 'Carter One';">😉 Facebook</a><br><br><br>
}
                    <strong style="font-family: 'Paytone One';">Dự kiến hoàn tất :&ensp;Đéo biết</strong>
},
            </div>
"description": "Link to the main article in a page."
        </div>
}
        <script src="./assets/js/particles.js"></script>
</templatedata>
        <script src="./assets/js/app.js"></script>
</noinclude>
<script>
const audio=new Audio("//files.catbox.moe/e18dw8.mp3");
audio.play();
error_page();
    function error_page() {
        Swal.fire(
            'Thông báo',
            'Trang này hiện đang được bảo trì nâng cấp.',
            'error'
        )
    }
</script>
</body>
</html>

Latest revision as of 18:21, 1 August 2024

Main article: [[{{{1}}}|{{{1}}}]]

Link to the main article in a page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
URL1 URL

Insert a URL

Example
https://streetcat.wiki/index.php/Main_Page
URLrequired
Name of the page2 Name

Text

Example
Main Page
Unknownsuggested