Khác biệt giữa bản sửa đổi của “Bản mẫu:Year nationality television seasons category”
Nội dung được xóa Nội dung được thêm vào
theo yêu cầu, sửa lỗi không nhận quốc gia Thẻ: Trình soạn thảo mã nguồn 2017 |
|||
Dòng 4: | Dòng 4: | ||
-->|<!-- ############### It is a category ############################### |
-->|<!-- ############### It is a category ############################### |
||
# So check that it matches the required format: "Mùa truyền hình "Quốc gia" năm YYYY" |
# So check that it matches the required format: "Mùa truyền hình "Quốc gia" năm YYYY" |
||
-->{{#ifeq: {{#invoke:String|match|s={{PAGENAME}}|pattern=^.+ năm %d%d%d%d$|start=1|match=1|plain=false|nomatch=%%nomatch%%}}|%%nomatch%%<!-- |
-->{{#ifeq: {{#invoke:String|match|s={{PAGENAME}}|pattern=^Mùa truyền hình .+ năm %d%d%d%d$|start=1|match=1|plain=false|nomatch=%%nomatch%%}}|%%nomatch%%<!-- |
||
-->|<!-- # Doesn't match |
-->|<!-- # Doesn't match |
||
-->{{Error|Sai tên trang.<br />[[Bản mẫu:Đầu thể loại mùa truyền hình quốc gia năm YYYY]] chỉ được sử dụng trên các trang thể loại có tiêu đề ở dạng "Mùa truyền hình "Quốc gia" năm YYYY", trong đó YYYY là năm có 4 chữ số và "Quốc gia" là tên quốc gia (ví dụ: "Nga" hoặc "Ai Cập")}}<!-- |
-->{{Error|Sai tên trang.<br />[[Bản mẫu:Đầu thể loại mùa truyền hình quốc gia năm YYYY]] chỉ được sử dụng trên các trang thể loại có tiêu đề ở dạng "Mùa truyền hình "Quốc gia" năm YYYY", trong đó YYYY là năm có 4 chữ số và "Quốc gia" là tên quốc gia (ví dụ: "Nga" hoặc "Ai Cập")}}<!-- |
||
Dòng 12: | Dòng 12: | ||
-->| year = {{Title year}} <!-- |
-->| year = {{Title year}} <!-- |
||
-->| country = {{GetCountryNameFromAdjective|{{#invoke:String|replace|source={{PAGENAME}}|pattern=Mùa truyền hình (.+) năm %d%d%d%d$|replace=%1|count=1|plain= false}}}}<!-- |
-->| country = {{GetCountryNameFromAdjective|{{#invoke:String|replace|source={{PAGENAME}}|pattern=Mùa truyền hình (.+) năm %d%d%d%d$|replace=%1|count=1|plain= false}}}}<!-- |
||
-->| nationality = {{#invoke:String|replace|source={{PAGENAME}}|pattern=(.+) năm %d%d%d%d$|replace=%1|count=1|plain= false}}<!-- |
-->| nationality = {{#invoke:String|replace|source={{PAGENAME}}|pattern=Mùa truyền hình (.+) năm %d%d%d%d$|replace=%1|count=1|plain= false}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
Phiên bản lúc 00:15, ngày 4 tháng 3 năm 2024
Tài liệu bản mẫu[tạo]